Bewerken

Share via


XmlTextReader.Settings Property

Definition

Gets the XmlReaderSettings object used to create this XmlTextReader instance.

public:
 virtual property System::Xml::XmlReaderSettings ^ Settings { System::Xml::XmlReaderSettings ^ get(); };
public override System.Xml.XmlReaderSettings Settings { get; }
member this.Settings : System.Xml.XmlReaderSettings
Public Overrides ReadOnly Property Settings As XmlReaderSettings

Property Value

The XmlReaderSettings object used to create this XmlTextReader instance; null if the reader was not created using the Create method.

Remarks

In the .NET Framework 2.0, the recommended practice is to create XmlReader instances using the XmlReaderSettings class and the Create method. This allows you to take full advantage of all the new features introduced in the .NET Framework. For more information, see the Remarks section in the XmlReader reference page.

Applies to