Condividi tramite


DocData.Encoding Property

Gets or sets the encoding that persists the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable Property Encoding As Encoding
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