SiteMapNode.HasChildNodes Propriedade

Definição

Obtém um valor que indica se o SiteMapNode atual tem nós filho.Gets a value indicating whether the current SiteMapNode has any child nodes.

public:
 virtual property bool HasChildNodes { bool get(); };
public virtual bool HasChildNodes { get; }
member this.HasChildNodes : bool
Public Overridable ReadOnly Property HasChildNodes As Boolean

Valor da propriedade

Boolean

true Se o nó tiver filhos; caso contrário, false .true if the node has children; otherwise, false.

Comentários

Essa propriedade é uma propriedade de conveniência que chama a ChildNodes propriedade internamente, portanto, não executará melhor do que se você chamar a ChildNodes Propriedade por conta própria e verificar se ela está vazia.This property is a convenience property that calls the ChildNodes property internally, so it will not perform better than if you call the ChildNodes property yourself and check to see if it is empty.

Aplica-se a

Confira também