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

System.Xml.XmlTextReader.HasValue Property

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

public override 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

This property is read-only.

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

Note:

This property overrides XmlReader.HasValue.

[Edit]

Requirements

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