SiteMapDataSource.GetHierarchicalView(String) 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 a single view on the site map data for the SiteMapProvider object according to the starting node and other properties of the data source.
protected:
override System::Web::UI::HierarchicalDataSourceView ^ GetHierarchicalView(System::String ^ viewPath);
protected override System.Web.UI.HierarchicalDataSourceView GetHierarchicalView (string viewPath);
override this.GetHierarchicalView : string -> System.Web.UI.HierarchicalDataSourceView
Protected Overrides Function GetHierarchicalView (viewPath As String) As HierarchicalDataSourceView
Parameters
- viewPath
- String
The URL of the starting node, specified by the StartingNodeUrl.
Returns
A HierarchicalDataSourceView helper object on the site map data, starting with the node that is identified by the StartingNodeUrl or its child, if the ShowStartingNode is false
.
Exceptions
No SiteMapProvider is configured or available for the site.
The StartFromCurrentNode is true
but the StartingNodeUrl is set.
The StartingNodeUrl is set but the SiteMapDataSource cannot resolve a node for the specified URL.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기