Condividi tramite


ITextTemplatingEngineHost.SetOutputEncoding(Encoding, Boolean) Method

Definition

Tells the host the encoding that is expected for the generated text output.

public:
 void SetOutputEncoding(System::Text::Encoding ^ encoding, bool fromOutputDirective);
public void SetOutputEncoding (System.Text.Encoding encoding, bool fromOutputDirective);
abstract member SetOutputEncoding : System.Text.Encoding * bool -> unit
Public Sub SetOutputEncoding (encoding As Encoding, fromOutputDirective As Boolean)

Parameters

encoding
Encoding

The encoding for the generated text output.

fromOutputDirective
Boolean

true to indicate that the user specified the encoding in the encoding parameter of the output directive.

Applies to