BaseAreaWebPart, classe (Microsoft.SharePoint.Portal.WebControls)
Obsolète.
Creates Web Parts that act like portals.
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 PortalSiteMapProvider instead")> _
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:sharepoint:CategoryWebPart")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public MustInherit Class BaseAreaWebPart
Inherits CacheableWebPart
Implements IDisposable
'Utilisation
Dim instance As BaseAreaWebPart
[ObsoleteAttribute("This control is obsolete. Please use PortalSiteMapProvider instead")]
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:sharepoint:CategoryWebPart")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
public abstract class BaseAreaWebPart : CacheableWebPart, IDisposable
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.Portal.WebControls.WebPartLoc
Microsoft.SharePoint.Portal.WebControls.CacheableWebPart
Microsoft.SharePoint.Portal.WebControls.BaseAreaWebPart
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 BaseAreaWebPart
Microsoft.SharePoint.Portal.WebControls, espace de noms