ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
StringDocument Class
StringDocument Properties
Contents Property
Encoding Property
Info Property
StringContents Property

# StringDocumentContents Property

Gets a stream that provides read access to the document.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override Stream Contents { get; }

    Public Overrides ReadOnly Property Contents As Stream
    	Get

    public:
    virtual property Stream^ Contents {
    	Stream^ get () override;
    }

    abstract Contents : Stream with get
    override Contents : Stream with get

#### Property Value

Stream
Remarks
The StringDocument implementation of this property returns a MemoryStream instance.
See Also

#### Reference

StringDocument Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft