SPMobileComponent.SubControlNumberLimitKey Property

Gets a key that can be used to look up a mobile rendering limit value for the component.

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

Syntax

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

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

Property Value

Type: System.String
A String that represents a lookup key that is used to find the mobile rendering limit of the component.

Remarks

The key is used to look up the number in the mobile web.config file in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE. For example, SPMobileItemFieldIterator.SubControlNumberLimitKey is "mobile_fieldnumberlimitforinputform", which is set to a numeric value in the mobile web.config file.

The default implementation returns a null reference (Nothing in Visual Basic), so you must override this property to use it.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace