Export (0) Print
Expand All

XmlWriter.Settings Property

Gets the XmlWriterSettings object used to create this XmlWriter instance.

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

public virtual XmlWriterSettings Settings { get; }
/** @property */
public XmlWriterSettings get_Settings ()

public function get Settings () : XmlWriterSettings

Not applicable.

Property Value

The XmlWriterSettings object used to create this writer instance. If this writer was not created using the Create method, this property returns a null reference (Nothing in Visual Basic).

The XmlWriterSettings class is used to specify the set of features to support on the created writer instance. The XmlWriterSettings object returned by the Settings property cannot be modified. Any attempt to change individual settings results in an exception being thrown.

For more information, see Creating XML Writers.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

XNA Framework

Supported in: 1.0

Community Additions

ADD
Show:
© 2014 Microsoft