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

Renders a hierarchical view of Web Parts and Web pages.

This API is not CLS-compliant. 
System..::.Object
  System.Web.UI..::.Control
    System.Web.UI.WebControls..::.WebControl
      System.Web.UI.WebControls..::.Panel
        System.Web.UI.WebControls.WebParts..::.Part
          System.Web.UI.WebControls.WebParts..::.WebPart
            Microsoft.SharePoint.WebPartPages..::.WebPart
              Microsoft.SharePoint.WebPartPages..::.BaseXsltDataWebPart
                Microsoft.SharePoint.WebPartPages..::.DataFormWebPart
                  Microsoft.SharePoint.Publishing.WebControls..::.CmsDataFormWebPart
                    Microsoft.SharePoint.Publishing.WebControls..::.LevelHierarchyWebPart
                      Microsoft.SharePoint.Publishing.WebControls..::.TableOfContentsWebPart
                        

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

This class derives from the LevelHierarchyWebPart class and uses level styling in XSL templates to render a Web page and its child pages. It is associated with the TableOfContentsDataSource class that provides the data for this Web Part. This class always displays Web sites, and can be configured either to display or not display Web pages. A manual sort can be applied to each Web Part or they can be sorted in navigation.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
System..::.Object
  System.Web.UI..::.Control
    System.Web.UI.WebControls..::.WebControl
      System.Web.UI.WebControls..::.Panel
        System.Web.UI.WebControls.WebParts..::.Part
          System.Web.UI.WebControls.WebParts..::.WebPart
            Microsoft.SharePoint.WebPartPages..::.WebPart
              Microsoft.SharePoint.WebPartPages..::.BaseXsltDataWebPart
                Microsoft.SharePoint.WebPartPages..::.DataFormWebPart
                  Microsoft.SharePoint.Publishing.WebControls..::.CmsDataFormWebPart
                    Microsoft.SharePoint.Publishing.WebControls..::.LevelHierarchyWebPart
                      Microsoft.SharePoint.Publishing.WebControls..::.TableOfContentsWebPart
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