ITextTemplatingEngineHost.SetOutputEncoding(Encoding, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.