SPMobileBaseFieldControl.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)


Protected Overridable Function CreateControlAsLabel As MobileControl

Dim returnValue As MobileControl

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

Return Value

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


Typically, CreateControlAsLabel would be called by CreateControlForDisplay or CreateControlForView.

See Also


SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace