Share via


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.

See also

Reference

LevelHierarchyWebPart class

LevelHierarchyWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace