This topic has not yet been rated - Rate this topic

XPathNavigator.HasAttributes Property

Gets a value indicating whether the element node has any attributes.

[Visual Basic]
Public MustOverride ReadOnly Property HasAttributes As Boolean
[C#]
public abstract bool HasAttributes {get;}
[C++]
public: __property virtual bool get_HasAttributes() = 0;
[JScript]
public abstract function get HasAttributes() : Boolean;

Property Value

true if the element node has attributes; false if the node has no attributes or if the XPathNavigator is not positioned on an element node.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XPathNavigator Class | XPathNavigator Members | System.Xml.XPath Namespace | MoveToNextAttribute | MoveToFirstAttribute | MoveToAttribute | GetAttribute

Did you find this helpful?
(1500 characters remaining)