Uredi

Deli z drugimi prek


XmlWriter.Settings Property

Definition

Gets the XmlWriterSettings object used to create this XmlWriter instance.

public:
 virtual property System::Xml::XmlWriterSettings ^ Settings { System::Xml::XmlWriterSettings ^ get(); };
public virtual System.Xml.XmlWriterSettings Settings { get; }
public virtual System.Xml.XmlWriterSettings? Settings { get; }
member this.Settings : System.Xml.XmlWriterSettings
Public Overridable ReadOnly Property Settings As 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 null.

Exceptions

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."

Remarks

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.

Applies to