다음을 통해 공유


SPMobileLookupField.OptionCount Property

Gets the number of options the field contains.

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

Syntax

'Declaration
Public Overrides ReadOnly Property OptionCount As Integer
    Get
'Usage
Dim instance As SPMobileLookupField
Dim value As Integer

value = instance.OptionCount
public override int OptionCount { get; }

Property Value

Type: System.Int32
A Int32 that represents the total number of options that are contained by the field.

Remarks

Some of the options are not rendered on a mobile site if the total exceeds OptionNumberLimit.

See Also

Reference

SPMobileLookupField Class

SPMobileLookupField Members

Microsoft.SharePoint.MobileControls Namespace