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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈