XPathNavigator.HasAttributes 属性
定义
获取一个值,该值指示当前节点是否有任何属性。Gets a value that indicates whether the current node has any attributes.
public:
virtual property bool HasAttributes { bool get(); };
public:
abstract property bool HasAttributes { bool get(); };
public virtual bool HasAttributes { get; }
public abstract bool HasAttributes { get; }
member this.HasAttributes : bool
Public Overridable ReadOnly Property HasAttributes As Boolean
Public MustOverride ReadOnly Property HasAttributes As Boolean
属性值
true 如果当前节点具有属性,则为; false 如果当前节点没有属性,或者没有 XPathNavigator 定位在元素节点上,则返回。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.