Condividi tramite


Metodo BaseTemplatedCodeGenerator.SetOutputEncoding

Spazio dei nomi:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)

Sintassi

'Dichiarazione
Public Overridable Sub SetOutputEncoding ( _
    encoding As Encoding, _
    fromOutputDirective As Boolean _
)
public virtual void SetOutputEncoding(
    Encoding encoding,
    bool fromOutputDirective
)
public:
virtual void SetOutputEncoding(
    Encoding^ encoding, 
    bool fromOutputDirective
)
abstract SetOutputEncoding : 
        encoding:Encoding * 
        fromOutputDirective:bool -> unit 
override SetOutputEncoding : 
        encoding:Encoding * 
        fromOutputDirective:bool -> unit 
public function SetOutputEncoding(
    encoding : Encoding, 
    fromOutputDirective : boolean
)

Parametri

Implementa

ITextTemplatingCallback.SetOutputEncoding(Encoding, Boolean)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

BaseTemplatedCodeGenerator Classe

Spazio dei nomi Microsoft.VisualStudio.TextTemplating.VSHost