XPathNavigator::HasAttributes Property

 

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

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public:
property bool HasAttributes {
	virtual bool get();
}

Property Value

Type: System::Boolean

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

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: