ProfilePropertyCheckValue クラス (Microsoft.SharePoint.Portal.WebControls)
プロファイル プロパティが null であるかどうかに基づいて、条件に応じてテキストを表示します。
名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)
構文
'宣言
<DefaultPropertyAttribute("Text")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
Public Class ProfilePropertyCheckValue
Inherits Label
Implements IDesignTimeHtmlProvider
'使用
Dim instance As ProfilePropertyCheckValue
[DefaultPropertyAttribute("Text")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ProfilePropertyCheckValue : Label, IDesignTimeHtmlProvider
備考
この種類は、コンマを Dept,Title 中のコンマのように表示するために使用できます。Title または Dept が空である場合、コンマを付けずに Title または Dept のどちらかだけを表示できます。
継承階層
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Label
Microsoft.SharePoint.Portal.WebControls.ProfilePropertyCheckValue
スレッドの安全性
この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。
関連項目
参照
ProfilePropertyCheckValue メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間