ModelingDocStore.SetEncoding Method
Sets the encoding for each doc data linked to the store
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub SetEncoding ( _
encoding As Encoding _
)
public void SetEncoding(
Encoding encoding
)
public:
void SetEncoding(
Encoding^ encoding
)
member SetEncoding :
encoding:Encoding -> unit
public function SetEncoding(
encoding : Encoding
)
Parameters
- encoding
Type: System.Text.Encoding
The encoding to use. Must not be null.
.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.