SPMobileChoiceField.OptionCount Property
Gets the number of options the field contains.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property OptionCount As Integer
Get
'Usage
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.
Remarks
Some of the options are not rendered on a mobile site if the total exceeds OptionNumberLimit.