SPMobileComponent.TextLengthLimitKey 属性

指定移动组件分配的默认呈现限制 (最大的可呈现的字符数) 的移动 web.config 文件中定义的常量。

命名空间:  Microsoft.SharePoint.Mobile.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overridable ReadOnly Property TextLengthLimitKey As String
    Get
用法
Dim value As String

value = Me.TextLengthLimitKey
protected virtual string TextLengthLimitKey { get; }

属性值

类型:System.String
表示呈现最大长度的移动网站上的文本的查找键String

备注

默认实现设置为"mobile_basetextlengthlimit" TextLengthLimitKey 。您可以看到分配给此项移动 web.config 文件中的数值。

特定类型的文本的控件,如标题,可能会具有更严格限制。

另请参阅

引用

SPMobileComponent 类

SPMobileComponent 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间

其他资源

Ellipses and Rendering Limits