Partilhar via


PortalSiteMapDataSource.GetHierarchicalView Method

Returns a PortalHierarchicalDataSourceView.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Protected Overrides Function GetHierarchicalView ( _
    viewPath As String _
) As HierarchicalDataSourceView
'Usage
Dim viewPath As String
Dim returnValue As HierarchicalDataSourceView

returnValue = Me.GetHierarchicalView(viewPath)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
protected override HierarchicalDataSourceView GetHierarchicalView(
    string viewPath
)

Parameters

  • viewPath
    Type: System.String

    A string representing the path from which to generate the hierarchical view.

Return Value

Type: System.Web.UI.HierarchicalDataSourceView

See Also

Reference

PortalSiteMapDataSource Class

PortalSiteMapDataSource Members

Microsoft.SharePoint.Publishing.Navigation Namespace

GetHierarchicalView