Partilhar via


SPMobileChoiceField.CreateChoiceControl Method

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

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

Syntax

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

returnValue = Me.CreateChoiceControl()
protected virtual 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.

See Also

Reference

SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace