TableOfContentsWebPart.CreateDataSource Method
Creates a data source for the TableOfContentsWebPart object.
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