SPRelatedField.LookupList property

Gets the SPList object that a lookup field identifies as its target (or parent) list.

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

public SPList LookupList { get; }

Property value

Type: Microsoft.SharePoint.SPList
The list that is the target of a lookup field in another list.

If the current SPRelatedField object is a member of an SPRelatedFieldCollection, then the value returned by the LookupList property is the same as the value returned by the collection object's SPRelatedFieldCollection.List property.

Show: