SPMobileComponent.TextLengthLimit 属性
指定的最大可呈现,对于给定的文本呈现控件,移动网站上的字符数。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overridable ReadOnly Property TextLengthLimit As Integer
Get
用法
Dim instance As SPMobileComponent
Dim value As Integer
value = instance.TextLengthLimit
public virtual int TextLengthLimit { get; }
属性值
类型:System.Int32
代表移动网站上的通用文本呈现控件的最大长度Int32 。
备注
默认实现将TextLengthLimit设置为常量TextLengthLimitKey中指定的移动 web.config 文件中定义的值。
特定类型的文本的控件,如标题,可能会具有更严格限制。
另请参阅
引用
Microsoft.SharePoint.Mobile.WebControls 命名空间