LevelHierarchyWebPart.CreateDataSource Method
Creates a LevelHierarchyDataSource for the associated control.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Protected MustOverride Function CreateDataSource As LevelHierarchyDataSource
'Usage
Dim returnValue As LevelHierarchyDataSource
returnValue = Me.CreateDataSource()
protected abstract LevelHierarchyDataSource CreateDataSource()
Return Value
Type: Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyDataSource
A LevelHierarchyDataSource object.