SPHierarchyDataSourceControl.GetHierarchicalViewPublic Method
Enables using the data source from other controls on the page without going through the data-binding framework.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetHierarchicalViewPublic ( _
viewName As String _
) As HierarchicalDataSourceView
'Usage
Dim instance As SPHierarchyDataSourceControl
Dim viewName As String
Dim returnValue As HierarchicalDataSourceView
returnValue = instance.GetHierarchicalViewPublic(viewName)
public HierarchicalDataSourceView GetHierarchicalViewPublic(
string viewName
)
Parameters
viewName
Type: System.StringThe view.
Return Value
Type: System.Web.UI.HierarchicalDataSourceView
A string representing the view name.
See Also
Reference
SPHierarchyDataSourceControl Class