StaticSiteMapProvider.GetChildNodes(SiteMapNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the child site map nodes of a specific SiteMapNode object.
public:
override System::Web::SiteMapNodeCollection ^ GetChildNodes(System::Web::SiteMapNode ^ node);
public override System.Web.SiteMapNodeCollection GetChildNodes (System.Web.SiteMapNode node);
override this.GetChildNodes : System.Web.SiteMapNode -> System.Web.SiteMapNodeCollection
Public Overrides Function GetChildNodes (node As SiteMapNode) As SiteMapNodeCollection
Parameters
- node
- SiteMapNode
The SiteMapNode for which to retrieve all child site map nodes.
Returns
A read-only SiteMapNodeCollection that contains the child site map nodes of node
. If security trimming is enabled, the collection contains only site map nodes that the user is permitted to see.
Exceptions
node
is null
.
Remarks
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.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기