HtmlToHtml.DetectEncodingFromMetaTag Property
The DetectEncodingFromMetaTag property gets or sets a Boolean value that indicates whether the encoding is detected from the meta tag or determined by the InputEncoding property.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Property DetectEncodingFromMetaTag As Boolean
public bool DetectEncodingFromMetaTag { get; set; }
public:
property bool DetectEncodingFromMetaTag {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_DetectEncodingFromMetaTag ()
/** @property */
public void set_DetectEncodingFromMetaTag (boolean value)
public function get DetectEncodingFromMetaTag () : boolean
public function set DetectEncodingFromMetaTag (value : boolean)
Remarks
The DetectEncodingFromMetaTag property returns true if the meta tag in the input is to be used to determine the encoding. This property returns false to indicate that the input encoding is to be determined by the InputEncoding property. If the DetectEncodingFromMetaTag property is set to true, but the meta tag contains no encoding information, then the InputEncoding property will be used to determine the encoding.
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