Share via


SPMobileLookupField.LookupField Property

Gets the field (column) in the LookupList property in which the lookup occurs.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property LookupField As SPField
    Get
'Usage
Dim value As SPField

value = Me.LookupField
protected virtual SPField LookupField { get; }

Property Value

Type: Microsoft.SharePoint.SPField
An SPField object that represents the field that is the lookup source.

Remarks

Warning

Many other SharePoint Foundation classes are derived directly or indirectly from SPMobileBaseFieldControl and have names on the pattern SPMobile*Field. Many of these have a property named on the pattern *Field that simply returns the same object as the inherited Field object except that the get accessor has cast the field internally to the more specific SPField* type. (See SPMobileChoiceField, for an example.) Note that the SPMobileLookupField.LookupField property is not parallel to these. It refers not to the same object as Field, but rather to the object in the LookupField property of the Field object.

See Also

Reference

SPMobileLookupField Class

SPMobileLookupField Members

Microsoft.SharePoint.MobileControls Namespace