SPMobileComponent.TextLengthLimitKey Property

Specifies the constant defined in the mobile web.config file that is assigned the default rendering limit (the maximum number of characters that can be rendered) for the mobile component.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Protected Overridable ReadOnly Property TextLengthLimitKey As String
    Get

Dim value As String

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

Property Value

Type: System.String
An String representing the lookup key for the maximum rendering length of text on the mobile site.

Remarks

The default implementation sets TextLengthLimitKey to "mobile_basetextlengthlimit". In the mobile web.config file that ships with Windows SharePoint Services 3.0, this constant is set to 255.

Particular types of text controls, such as titles, may have more restrictive limits.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Ellipses and Rendering Limits