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:
TableOfContentsDataSourceView Class

Provides the view for the TableOfContentsDataSource object.

System..::.Object
  System.Web.UI..::.HierarchicalDataSourceView
    Microsoft.SharePoint.Publishing.WebControls..::.LevelHierarchyDataSourceView
      Microsoft.SharePoint.Publishing.WebControls..::.TableOfContentsDataSourceView

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 TableOfContentsDataSourceView _
    Inherits LevelHierarchyDataSourceView
Visual Basic (Usage)
Dim instance As TableOfContentsDataSourceView
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 TableOfContentsDataSourceView : LevelHierarchyDataSourceView

This is the SPDataSourceView for the TableOfContentsDataSource class. It has properties that are similar to the TableOfContentsDataSource. These property values are retrieved directly from the TableOfContentsDataSource class and set to this view. This class actually gathers the data from the GetChildren(LevelElementHierarchyData) and GetRootLevelElements(RootElementData)GetRootLevelElements methods.

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