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.

适用于