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 の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示