Partilhar via


SPMobileBooleanField.CreateControlForNew Method

Returns a check box, after giving it the field's current value, for use on a New list item page or Edit item page.

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

Syntax

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

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

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl, specifically, a check box, that renders a check box that is checked if and only if the current value of the field being rendered is true.

See Also

Reference

SPMobileBooleanField Class

SPMobileBooleanField Members

Microsoft.SharePoint.MobileControls Namespace