次の方法で共有


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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace