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

# StringDocumentEncoding Property

Gets the document's character encoding.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override Encoding Encoding { get; }

    Public Overrides ReadOnly Property Encoding As Encoding
    	Get

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

    abstract Encoding : Encoding with get
    override Encoding : Encoding with get

#### Property Value

Encoding
Remarks
StringDocument instances return UTF8 for this property.
See Also

#### Reference

StringDocument Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft