Partager via


TOCPart, classe (Microsoft.SharePoint.Portal.WebControls)

Obsolète.  

Displays area content.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:tocpart")> _
<ObsoleteAttribute> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public NotInheritable Class TOCPart
    Inherits TableOfContentsWebPart
'Utilisation
Dim instance As TOCPart
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:tocpart")] 
[ObsoleteAttribute] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public sealed class TOCPart : TableOfContentsWebPart

Remarques

Microsoft recommends that the user create Web Parts by using the BaseAreaWebPart class. Microsoft does not recommend subclassing this class.

Hiérarchie d'héritage

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

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres TOCPart
Microsoft.SharePoint.Portal.WebControls, espace de noms