ITextTemplatingCallback.SetOutputEncoding Method
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
Syntax
'Declaration
Sub SetOutputEncoding ( _
encoding As Encoding, _
fromOutputDirective As Boolean _
)
void SetOutputEncoding(
Encoding encoding,
bool fromOutputDirective
)
void SetOutputEncoding(
Encoding^ encoding,
bool fromOutputDirective
)
abstract SetOutputEncoding :
encoding:Encoding *
fromOutputDirective:bool -> unit
function SetOutputEncoding(
encoding : Encoding,
fromOutputDirective : boolean
)
Parameters
- encoding
Type: Encoding
- fromOutputDirective
Type: Boolean
.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.