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
声明
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.