XdmWriterSettings.HtmlVersion PropertyXdmWriterSettings.HtmlVersion PropertyXdmWriterSettings::HtmlVersion Property

Gets or sets the HTML version to be used.

Syntax

Public Property HtmlVersion As String
        Get
        Set(ByVal value As String)
public string HtmlVersion { get; set; }
public:
property String^ HtmlVersion {
    String^ get();
    void set(String^ value);
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The HTML version to be used.

Remarks

This property corresponds to the html-version serialization parameter.

This parameter specifies the version of HTML to be used in serialization. This property is ignored if MethodMethodMethod is not set to HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod.

If the version is not supported (HTML version is not 4.0, 4.01 or 5.0 then an SESU0013 error is raised if serialization is attempted.

If this property is set to null a null reference (Nothing in Visual Basic) nullptr then the HTML version is assumed to be 4.01. By default this property is set to null a null reference (Nothing in Visual Basic) nullptr.