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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableAttribute]
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: