TableOfContentsDataSource constructor (PortalSiteMapProvider)
Initializes a new instance of the TableOfContentsDataSource object by using the specified PortalSiteMapProvider instance.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub New ( _
provider As PortalSiteMapProvider _
)
'Usage
Dim provider As PortalSiteMapProvider
Dim instance As New TableOfContentsDataSource(provider)
public TableOfContentsDataSource(
PortalSiteMapProvider provider
)
Parameters
provider
Type: Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProviderThe PortalSiteMapProvider object to use for this data source.
See also
Reference
TableOfContentsDataSource class
TableOfContentsDataSource members