XPathNavigator.HasAttributes 屬性

定義

取得值,指出目前節點是否具有任何屬性。

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 專案節點上,則傳回 。

適用於

另請參閱