共用方式為


SPMobileLabel class

轉譯 label 控制項可設定其可見的粗細。

Inheritance hierarchy

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

Namespace:  Microsoft.SharePoint.Mobile.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileLabel _
    Inherits Label
'用途
Dim instance As SPMobileLabel
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileLabel : Label

備註

權數會設定使用中%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS\MOBILE\web.config mobile_paginationweight 金鑰。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPMobileLabel members

Microsoft.SharePoint.Mobile.WebControls namespace