XmlReader.QuoteChar Property


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)

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

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