HtmlToText.OutputEncoding Property
The OutputEncoding property gets or sets a Encoding object that represents the encoding to use when reading HTML input.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Property OutputEncoding As Encoding
public Encoding OutputEncoding { get; set; }
public:
property Encoding^ OutputEncoding {
Encoding^ get ();
void set (Encoding^ value);
}
/** @property */
public Encoding get_OutputEncoding ()
/** @property */
public void set_OutputEncoding (Encoding value)
public function get OutputEncoding () : Encoding
public function set OutputEncoding (value : Encoding)
Remarks
The OutputEncoding property is only applicable when input data is pulled from a Stream object or pushed into the converter using a writable ConverterStream object. It is not applicable when output data is pulled from a TextReader or pushed through a ConverterWriter.
When applicable, the InputEncoding property must be set before conversion begins.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003
See Also