Partager via


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

Displays the value of the specified profile property.

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

Syntaxe

'Déclaration
<DefaultPropertyAttribute("Text")> _
<ToolboxDataAttribute("<{0}:ProfilePropertyValue runat=server></{0}:ProfilePropertyValue>")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public Class ProfilePropertyValue
    Inherits Label
    Implements IDesignTimeHtmlProvider
'Utilisation
Dim instance As ProfilePropertyValue
[DefaultPropertyAttribute("Text")] 
[ToolboxDataAttribute("<{0}:ProfilePropertyValue runat=server></{0}:ProfilePropertyValue>")] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public class ProfilePropertyValue : Label, IDesignTimeHtmlProvider

Hiérarchie d'héritage

System.Object
   System.Web.UI.Control
     System.Web.UI.WebControls.WebControl
       System.Web.UI.WebControls.Label
        Microsoft.SharePoint.Portal.WebControls.ProfilePropertyValue

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