SPMobileComputedField.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

Protected Overrides Function CreateControlAsLabel As MobileControl

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 is called by CreateControlForDisplay or CreateControlForView.

See Also

Reference

SPMobileComputedField Class

SPMobileComputedField Members

Microsoft.SharePoint.MobileControls Namespace