LevelHierarchyDataSource.GetHierarchicalView Method
When overridden in derived classes, gets the view helper object for the IHierarchicalDataSource interface for the specified path.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, 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.Demand, ObjectModel = true)]
protected override HierarchicalDataSourceView GetHierarchicalView(
string viewPath
)
Parameters
viewPath
Type: System.StringThe hierarchical path of the view to retrieve.
Return Value
Type: System.Web.UI.HierarchicalDataSourceView
An object that represents the hierarchical view.
See Also
Reference
LevelHierarchyDataSource Class