Share via


SPMobileLabel - Classe

Restitue le contrôle d'étiquette dont le poids visible peut être configuré.

Hiérarchie d’héritage

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.Literal
      Microsoft.SharePoint.Mobile.Controls.TextViewBase
        Microsoft.SharePoint.Mobile.Controls.Label
          Microsoft.SharePoint.Mobile.WebControls.SPMobileLabel
            Microsoft.SharePoint.WebPartPages.WebPartMobileWebPageTitle

Espace de noms :  Microsoft.SharePoint.Mobile.WebControls
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileLabel _
    Inherits Label
'Utilisation
Dim instance As SPMobileLabel
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileLabel : Label

Remarques

Le poids est défini avec la clé mobile_paginationweight dans %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS\MOBILE\web.config.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

SPMobileLabel - Membres

Microsoft.SharePoint.Mobile.WebControls - Espace de noms