XmlReader.QuoteChar Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract QuoteChar : char with get
override QuoteChar : char with 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: