Partilhar via


MobileAverageRatingField.CreateControlAsLabel Method

Creates a Label control that has its text property set to the value of the field.

Namespace:  Microsoft.SharePoint.Portal.MobileControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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 Label control that has its text property set to the value of the field.

Remarks

This method creates a Label control to display the MobileAverageRatingField value on a mobile device.

See Also

Reference

MobileAverageRatingField Class

MobileAverageRatingField Members

Microsoft.SharePoint.Portal.MobileControls Namespace