XmlWriter.WriteState 属性

定义

当在派生类中被重写时,获取写入器的状态。

public:
 abstract property System::Xml::WriteState WriteState { System::Xml::WriteState get(); };
public abstract System.Xml.WriteState WriteState { get; }
member this.WriteState : System.Xml.WriteState
Public MustOverride ReadOnly Property WriteState As WriteState

属性值

WriteState

WriteState 值之一。

例外

在上一次异步操作完成之前调用了 XmlWriter 方法。 在此情况下,会引发 InvalidOperationException 并显示消息“异步操作已在进行中。”

适用于