SPMobileChoiceField.OptionCount Property

Gets the number of options the field contains.

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


Public Overridable ReadOnly Property OptionCount As Integer

Dim instance As SPMobileChoiceField
Dim value As Integer

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

Property Value

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


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

See Also


SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace