LookupField Property
The document is archived and information here might be outdated

SPFieldLookup.LookupField Property

Windows SharePoint Services 3

Gets or sets the field from a non-local list to which this field is a lookup.

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

public string LookupField { get; set; }

Property Value

Type: System.String
A string that contains the name of the field.

If you set the LookupField property you must call the Update method for changes to take effect in the database.

Show:
© 2016 Microsoft