SiteMapNode.IsDescendantOf(SiteMapNode) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會獲得一個值,表示目前的站點地圖節點是子節點還是指定節點的直系後代。
public:
virtual bool IsDescendantOf(System::Web::SiteMapNode ^ node);
public virtual bool IsDescendantOf(System.Web.SiteMapNode node);
abstract member IsDescendantOf : System.Web.SiteMapNode -> bool
override this.IsDescendantOf : System.Web.SiteMapNode -> bool
Public Overridable Function IsDescendantOf (node As SiteMapNode) As Boolean
參數
- node
- SiteMapNode
檢查 SiteMapNode 目前節點是子節點還是後代。
傳回
true如果當前節點是指定節點的子節點或後代;否則,。 false