XmlReader.QuoteChar XmlReader.QuoteChar XmlReader.QuoteChar XmlReader.QuoteChar Property

定义

当在派生类中被重写时,获取用于括住特性节点值的引号字符。When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.

public:
 virtual property char QuoteChar { char get(); };
public virtual char QuoteChar { get; }
member this.QuoteChar : char
Public Overridable ReadOnly Property QuoteChar As Char

属性值

用于括起属性节点的值的引号字符(" 或 ')。The quotation mark character (" or ') used to enclose the value of an attribute node.

异常

在上一次异步操作完成之前调用了 XmlReader 方法。An XmlReader method was called before a previous asynchronous operation finished. 在此情况下,会引发 InvalidOperationException 并显示消息“异步操作已在进行中。”In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."

注解

此属性仅适用于属性节点。This property applies only to an attribute node.

适用于