SPMobileBaseFieldControl.TextLengthLimit, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets the maximum number of characters that can be used in the field's value.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public override int TextLengthLimit { get; }

Valeur de la propriété

An Int32 that represents the largest possible size of any value in the field.

For list view pages, the default implementation uses the TextLengthLimitKeyForView to look up the value in the mobile web.config file. Unless that file has been customized or TextLengthLimitKeyForView has been overridden, the value is 19.

For other page or form types, the default implementation uses the value of the grandparent TextLengthLimit property. Unless the mobile web.config has been customized, the value is 255.