Compartilhar via


SPMobileBaseFieldControl.CreateControlAsLabel method

Cria um controle de rótulo com o valor do campo como seu texto.

Namespace:  Microsoft.SharePoint.Mobile.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Protected Overridable Function CreateControlAsLabel As Label
'Uso
Dim returnValue As Label

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

Valor retornado

Type: Microsoft.SharePoint.Mobile.Controls.Label
Um MobileControl que processa o valor do campo como um controle label.

Comentários

Normalmente, o CreateControlAsLabel deve ser chamado por CreateControlForDisplay ou CreateControlForView.

Ver também

Referência

SPMobileBaseFieldControl class

SPMobileBaseFieldControl members

Microsoft.SharePoint.Mobile.WebControls namespace