Partager via


SPMobileBaseFieldControl.TextLengthLimitKeyForView Property

Gets a string that can be used to look up (in the mobile web.config file) the mobile rendering limit of the field when it appears on list view pages.

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

Syntax

Protected Overridable ReadOnly Property TextLengthLimitKeyForView As String
    Get

Dim value As String

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

Property Value

Type: System.String
A String that represents the lookup key that is used to look up the rendering limit, for list view pages, of the field.

Remarks

For list view pages, the default implementation returns "mobile_fieldtextlimitforview" which, in the mobile web.config file included with Windows SharePoint Services 3.0, is set to 19.

For all other pages, the default implementation returns the value of the grandparent TextLengthLimitKey property, which is "mobile_basetextlengthlimit". That key is set to 255 in the mobile web.config file included with Windows SharePoint Services 3.0.

See Also

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace