Condividi tramite


SPMobileComponent.TextLengthLimit Property

Specifies the maximum number of characters that can be rendered, for a given text-rendering control, on the mobile site.

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

Syntax

'Declaration
Public Overridable ReadOnly Property TextLengthLimit As Integer
    Get
'Usage
Dim instance As SPMobileComponent
Dim value As Integer

value = instance.TextLengthLimit
public virtual int TextLengthLimit { get; }

Property Value

Type: System.Int32
An Int32 representing the maximum length of generic text rendering controls on the mobile site.

Remarks

The default implementation sets TextLengthLimit to the value defined in the mobile web.config file for the constant specified in TextLengthLimitKey.

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