Export (0) Print
Expand All

XmlReader.Settings Property

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

Gets the XmlReaderSettings object used to create this XmlReader instance.

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

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

public function get Settings () : XmlReaderSettings

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