Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Settings Property
Collapse the table of content
Expand the table of content

XmlWriter.Settings Property

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

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

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 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.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft