SPMobileUserField.OptionCount Property

Gets the number of users 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 SPMobileUserField
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 users contained by the field.

Remarks

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

See Also

Reference

SPMobileUserField Class

SPMobileUserField Members

Microsoft.SharePoint.MobileControls Namespace