SiteMapNode.IsDescendantOf(SiteMapNode) Méthode
Définition
Obtient une valeur qui indique si le nœud de plan de site actuel est un enfant ou un descendant direct du nœud spécifié.Gets a value indicating whether the current site map node is a child or a direct descendant of the specified node.
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
Paramètres
- node
- SiteMapNode
Le SiteMapNode pour vérifier si le nœud actuel est un enfant ou un descendant.The SiteMapNode to check if the current node is a child or descendant of.
Retours
true
si le nœud courant est un enfant ou un descendant du nœud spécifié ; sinon, false
.true
if the current node is a child or descendant of the specified node; otherwise, false
.