Compartilhar via


MetadataHierarchyDataSourceControl.GetHierarchicalView Method

This member is reserved for internal use and is not intended to be used directly from your code. Gets the view helper object for the IHierarchicalDataSource interface for the specified path.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

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

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

Parameters

  • viewName
    Type: System.String

    The String object that represents the hierarchical path of the view to retrieve.

Return Value

Type: System.Web.UI.HierarchicalDataSourceView
The HierarchicalDataSourceView object that represents a single view of the data at the identified hierarchical level.

Remarks

This override returns the data source view for the specified hierarchy path from the underlying metadata hierarchy data source object.

See Also

Reference

MetadataHierarchyDataSourceControl Class

MetadataHierarchyDataSourceControl Members

Microsoft.Office.Server.WebControls Namespace