語言

SiteMapNode.IsDescendantOf(SiteMapNode) 方法

定義

會獲得一個值,表示目前的站點地圖節點是子節點還是指定節點的直系後代。

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

適用於