다음을 통해 공유


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)

Syntax

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.

Remarks

Typically, CreateControlAsLabel would be called by CreateControlForDisplay or CreateControlForView.

See Also

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace