LookupField Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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.

© 2016 Microsoft