SPMobileUserField.CreateChoiceControl Method

Creates a control that renders a selection list including all users up to the rendering limit (OptionNumberLimit).

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

Syntax

'Declaration
Protected Overrides Function CreateChoiceControl As MobileControl
'Usage
Dim returnValue As MobileControl

returnValue = Me.CreateChoiceControl()
protected override MobileControl CreateChoiceControl()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl from which one option from a finite list can be selected.

Remarks

Typically, CreateChoiceControl is called by CreateControlForNew and CreateControlForEdit.

This method calls QueryEntities to get the list of users and groups from which the user can choose.

See Also

Reference

SPMobileUserField Class

SPMobileUserField Members

Microsoft.SharePoint.MobileControls Namespace