Share via


XmlReader.HasValue Property

Gets a value indicating whether the current node has value.

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

Syntax

public virtual abstract bool HasValue { get; }

Property Value

Returns true if the current node has value, otherwise returns false.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace