.NET Framework Class Library
XmlWriterSettings.OutputMethod Property

Note: This property is new in the .NET Framework version 2.0.

Gets the method used to serialize the XmlWriter output.

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

Syntax

Visual Basic (Declaration)
Public Property OutputMethod As XmlOutputMethod
Visual Basic (Usage)
Dim instance As XmlWriterSettings
Dim value As XmlOutputMethod

value = instance.OutputMethod
C#
public XmlOutputMethod OutputMethod { get; }
C++
public:
property XmlOutputMethod OutputMethod {
    XmlOutputMethod get ();
}
J#
/** @property */
public XmlOutputMethod get_OutputMethod ()
JScript
public function get OutputMethod () : XmlOutputMethod

Property Value

One of the XmlOutputMethod values. The default is Xml.
Remarks

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.

Platforms

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0
See Also

Tags :


Page view tracker