TableOfContentsWebPart.CreateDataSource Method
Creates a data source for the Table Of Contents Web Part.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Protected Overrides Function CreateDataSource As LevelHierarchyDataSource
'Usage
Dim returnValue As LevelHierarchyDataSource
returnValue = Me.CreateDataSource()
protected override LevelHierarchyDataSource CreateDataSource()
Return Value
Type: Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyDataSource