XmlWriter.Settings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk