Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft