Compartilhar via


SPMobileBaseChoiceField.OptionTextLengthLimitKey Property

When overridden in a derived class, gets a key for looking up, in the mobile web.config file, the maximum length, in characters, that any option can have.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property OptionTextLengthLimitKey As String
    Get
'Usage
Dim value As String

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

Property Value

Type: System.String
A String that holds a key that is assigned to a particular number in the mobile web.config file.

Remarks

The default implementation returns an empty String, so you must override this property to use it.

See Also

Reference

SPMobileBaseChoiceField Class

SPMobileBaseChoiceField Members

Microsoft.SharePoint.MobileControls Namespace