Partager via


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

Obsolète.  

The CategoryNavigationWebPart class is the vertical and horizontal navigation bar.

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

Syntaxe

'Déclaration
<ObsoleteAttribute("This control is obsolete.  Please use asp:Menu instead.")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public NotInheritable Class CategoryNavigationWebPart
    Inherits Control
    Implements IDesignTimeHtmlProvider
'Utilisation
Dim instance As CategoryNavigationWebPart
[ObsoleteAttribute("This control is obsolete.  Please use asp:Menu instead.")] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public sealed class CategoryNavigationWebPart : Control, IDesignTimeHtmlProvider

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
    Microsoft.SharePoint.Portal.WebControls.CategoryNavigationWebPart

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 CategoryNavigationWebPart
Microsoft.SharePoint.Portal.WebControls, espace de noms