TOCPart Class
Renders a control that is used to display a table of contents Web Part.
Inheritance Hierarchy
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
Microsoft.SharePoint.Portal.WebControls.TOCPart
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public NotInheritable Class TOCPart _
Inherits TableOfContentsWebPart
'Usage
Dim instance As TOCPart
public sealed class TOCPart : TableOfContentsWebPart
Remarks
As a best practice, the user can create Web Parts by using the BaseAreaWebPart class rather than subclassing this class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SharePoint.Portal.WebControls Namespace
Inheritance Hierarchy
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
Microsoft.SharePoint.Portal.WebControls.TOCPart