ProfilePropertyImage, classe (Microsoft.SharePoint.Portal.WebControls)
Displays the image associated with the user's profile property
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<ToolboxDataAttribute("<{0}:ProfilePropertyImage runat=server></{0}:ProfilePropertyImage>")> _
<DefaultPropertyAttribute("Value")> _
<DesignerAttribute(GetType(DesignTimeHtmlProviderDesigner))> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
Public Class ProfilePropertyImage
Inherits PropertyImage
Implements IDesignTimeHtmlProvider
'Utilisation
Dim instance As ProfilePropertyImage
[ToolboxDataAttribute("<{0}:ProfilePropertyImage runat=server></{0}:ProfilePropertyImage>")]
[DefaultPropertyAttribute("Value")]
[DesignerAttribute(typeof(DesignTimeHtmlProviderDesigner))]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ProfilePropertyImage : PropertyImage, IDesignTimeHtmlProvider
Remarques
This can be used to display profile properties such as the user's picture URL.
Hiérarchie d'héritage
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Image
Microsoft.SharePoint.Portal.WebControls.PropertyImage
Microsoft.SharePoint.Portal.WebControls.ProfilePropertyImage
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 ProfilePropertyImage
Microsoft.SharePoint.Portal.WebControls, espace de noms