TOCPart 类

呈现的控件,用于显示目录 Web 部件。

继承层次结构

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
                          

命名空间:  Microsoft.SharePoint.Portal.WebControls
程序集:  Microsoft.SharePoint.Portal(位于 Microsoft.SharePoint.Portal.dll 中)

语法

声明
Public NotInheritable Class TOCPart _
    Inherits TableOfContentsWebPart
用法
Dim instance As TOCPart
public sealed class TOCPart : TableOfContentsWebPart

备注

作为最佳操作,用户可以通过使用BaseAreaWebPart类,而不是创建此类的子类创建 Web 部件。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

TOCPart 成员

Microsoft.SharePoint.Portal.WebControls 命名空间

继承层次结构

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