DocData.Encoding Property
Gets or sets the encoding that persists the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
Public Overridable Property Encoding As Encoding
Get
Set
public virtual Encoding Encoding { get; set; }
public:
virtual property Encoding^ Encoding {
Encoding^ get ();
void set (Encoding^ value);
}
abstract Encoding : Encoding with get, set
override Encoding : Encoding with get, set
function get Encoding () : Encoding
function set Encoding (value : Encoding)
Property Value
Type: System.Text.Encoding
The encoding that persists the document.
.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.