Compartir a través de


: ProfilePropertyCheckValue (Clase) (Microsoft.SharePoint.Portal.WebControls)

Displays text conditionally based on whether a profile property is null.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<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
'Uso
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

Comentarios

You can use this type to display something like the comma as in Dept,Title and if Title or the Dept is empty, just the Title or Dept without the comma.

Jerarquía de herencia

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

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

ProfilePropertyCheckValue (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)