XmlWriterSettings.OutputMethod Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the method used to serialize the XmlWriter output.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public XmlOutputMethod OutputMethod { get; internal set; }

Property Value

Type: System.Xml.XmlOutputMethod

One of the XmlOutputMethod values. The default is Xml.

This property specifies the method used to serialize the output. The output can be serialized using the HTML rules, the XML 1.0 rules, and so on. This setting is set by the XSLT processor and is used internally by Visual Studio.

.NET Framework
Available since 2.0
Return to top
Show: