SPMobileLabel 类
呈现标签控件,可以配置其可见的权重。
继承层次结构
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
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<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 密钥设置权重。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。