XdmWriterSettings.Method PropertyXdmWriterSettings.Method PropertyXdmWriterSettings::Method Property

Gets or sets the output method.

Syntax

Public Property Method As System.Xml.XmlQualifiedName
        Get
        Set(ByVal value As System.Xml.XmlQualifiedName)
public System.Xml.XmlQualifiedName Method { get; set; }
public:
property System.Xml::XmlQualifiedName^ Method {
    System.Xml::XmlQualifiedName^ get();
    void set(System.Xml::XmlQualifiedName^ value);
}
 

Remarks

This property corresponds to the method serialization parameter.

The properties XmlOutputMethodXmlOutputMethodXmlOutputMethod, HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod, XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod, TextOutputMethodTextOutputMethodTextOutputMethod and CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod can be used to specify supported output methods.

If this property is set to an unsupported value then a SEPM0016 XdmExceptionXdmExceptionXdmException is thrown if serialization is attempted.