SPMobileMultiChoiceField.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 SPMobileMultiChoiceField
Dim value As Integer
value = instance.OptionCount
public override int OptionCount { get; }
Property Value
Type: System.Int32
A Int32 object that represents the total number of options contained by the field.
Remarks
Some of the options are not rendered on a mobile site if the total exceeds the limit specified by the OptionNumberLimit property.
See Also
Reference
SPMobileMultiChoiceField Class