Mono Class Library: System.Xml.XmlReader Overview | Members

System.Xml.XmlReader.HasValue Property

Gets a value indicating whether the current node can have an associated text value. [Edit]

public abstract bool HasValue { get; }

Value

A bool where true indicates the node on which the reader is currently positioned can have an associated text value; otherwise, false. [Edit]

Remarks

Note: The following members of the System.Xml.XmlNodeType enumeration can have an associated value: Attribute, CDATA, Comment, DocumentType, ProcessingInstruction, SignificantWhitespace, Text, Whitespace, and XmlDeclaration.

Operation

As described above.

This property is read-only.

Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0