Partager via


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

Protected Overridable ReadOnly Property SubControlNumberLimitKey As String
    Get

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 C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\MOBILE. For example, SPMobileItemFieldIterator.SubControlNumberLimitKey is "mobile_fieldnumberlimitforinputform", which is set to "100" in the mobile web.config file when Windows SharePoint Services 3.0 is first installed.

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