Settings Property

XmlReader.Settings Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 Value

Type: System.Xml.XmlReaderSettings
The XmlReaderSettings object used to create this reader instance. If this reader was not created using the Create method, this property returns null.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft