SPMobileDateTimeField.CreateControlAsLabel Method

Creates a label control that has the value of the field as its text.

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

Syntax

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

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

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the value of the field as a label control.

Remarks

Typically, CreateControlAsLabel would be called by CreateControlForDisplay or CreateControlForView.

See Also

Reference

SPMobileDateTimeField Class

SPMobileDateTimeField Members

Microsoft.SharePoint.MobileControls Namespace