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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za