Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LookupField Property

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.

Community Additions

© 2015 Microsoft