次の方法で共有


ProfilePropertyImage クラス (Microsoft.SharePoint.Portal.WebControls)

ユーザー プロファイル プロパティに関連付けられている画像を表示します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<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
'使用
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

備考

これは、ユーザー画像の URL などのプロファイル プロパティを表示するために使用できます。

継承階層

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

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

ProfilePropertyImage メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間