SiteMapNode.ChildNodes Property
.NET Framework 3.0
Gets or sets all the child nodes of the current SiteMapNode object from the associated SiteMapProvider provider.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public SiteMapNodeCollection get_ChildNodes () /** @property */ public void set_ChildNodes (SiteMapNodeCollection value)
public function get ChildNodes () : SiteMapNodeCollection public function set ChildNodes (value : SiteMapNodeCollection)
Not applicable.
Property Value
A read-only SiteMapNodeCollection of child nodes, if any exist for the current node; otherwise, a null reference (Nothing in Visual Basic).The SiteMapNode relies on the SiteMapProvider that it is associated with to keep track of its relationships to other nodes in the site map. This property calls the GetChildNodes method, passing a reference to itself, to retrieve the SiteMapNodeCollection.
If security trimming is enabled, only nodes that the current user is permitted to see are returned. If the user is not permitted to see any child nodes, an empty collection is returned.
Community Additions
ADD
Show: