Retrieves the child site map nodes of a specific SiteMapNode object.
Public Overrides Function GetChildNodes ( _ node As SiteMapNode _ ) As SiteMapNodeCollection
Dim instance As StaticSiteMapProvider Dim node As SiteMapNode Dim returnValue As SiteMapNodeCollection returnValue = instance.GetChildNodes(node)
public override SiteMapNodeCollection GetChildNodes( SiteMapNode node )
public: virtual SiteMapNodeCollection^ GetChildNodes( SiteMapNode^ node ) override
public override function GetChildNodes( node : SiteMapNode ) : SiteMapNodeCollection
node is nullNothingnullptra null reference (Nothing in Visual Basic).
The SiteMapNode objects delegate to the site map provider to keep track of their child and parent site map nodes. As a result, classes that implement a site map provider for a hierarchical site map structure, such as StaticSiteMapProvider, and use SiteMapNode objects to represent site map nodes, must track the hierarchical relationships of all site map nodes in order to be able to navigate an entire hierarchical tree.
The GetChildNodes method calls the BuildSiteMap method internally to retrieve read-only SiteMapNodeCollection collection of site map nodes that are relative to the specified site map node and relevant to the current user.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98