Settings Property

XmlReader.Settings Property

Gets the XmlReaderSettings object used to create this XmlReader instance.

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

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

public function get Settings () : XmlReaderSettings

Not applicable.

Property Value

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

Security noteSecurity Note:

The XmlReaderSettings object can contain sensitive information such as user credentials. Applications must be careful when caching this object or passing it to another component.

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

For more information, see Creating XML Readers.

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:
© 2016 Microsoft