XmlReader.QuoteChar Property

 

When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual char QuoteChar { get; }

Property Value

Type: System.Char

The quotation mark character (" or ') used to enclose the value of an attribute node.

Exception Condition
InvalidOperationException

An XmlReader 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.”

This property applies only to an attribute node.

.NET Framework
Available since 1.1
Return to top
Show: