Share via


SPMobileTextField.TextField Property

Gets the field that the SPMobileTextField control is rendering.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property TextField As SPFieldText
    Get
'Usage
Dim instance As SPMobileTextField
Dim value As SPFieldText

value = instance.TextField
public SPFieldText TextField { get; }

Property Value

Type: Microsoft.SharePoint.SPFieldText
An SPFieldText that represents the field that is being rendered.

Remarks

Calling code should use this property rather than the inherited Field because the cast from SPField to SPFieldText is already done.

See Also

Reference

SPMobileTextField Class

SPMobileTextField Members

Microsoft.SharePoint.MobileControls Namespace