Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2010 product release

Other versions are also available for the following:
TableOfContentsDataSource Class

A LevelHierarchyDataSource that is used to gather data for the TableOfContentsWebPart.

System..::.Object
  System.Web.UI..::.Control
    System.Web.UI..::.HierarchicalDataSourceControl
      Microsoft.SharePoint.Publishing.WebControls..::.LevelHierarchyDataSource
        Microsoft.SharePoint.Publishing.WebControls..::.TableOfContentsDataSource

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Visual Basic (Declaration)
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TableOfContentsDataSource _
    Inherits LevelHierarchyDataSource
Visual Basic (Usage)
Dim instance As TableOfContentsDataSource
C#
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TableOfContentsDataSource : LevelHierarchyDataSource

This is the data source that the TableOfContentsWebPart uses to gather data. It is the intermediary between the consuming TableOfContentsDataSource and the TableOfContentsDataSourceView, which is the object that actually gathers the data. It contains properties similar to the TableOfContentsWebPart and passes these configuration values to the TableOfContentsDataSourceView.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker