Compartir a través de


ITextDocument.Encoding Property

Gets or sets the encoding of the document when saved to disk.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaración
Property Encoding As Encoding
Encoding Encoding { get; set; }
property Encoding^ Encoding {
    Encoding^ get ();
    void set (Encoding^ value);
}
abstract Encoding : Encoding with get, set
function get Encoding () : Encoding
function set Encoding (value : Encoding)

Property Value

Type: System.Text.Encoding
The Encoding.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace