Share via


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

適用於