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)

Syntax

'Declaration
Public ReadOnly Property LookupList As SPList
    Get
'Usage
Dim instance As SPRelatedField
Dim value As SPList

value = instance.LookupList
public SPList LookupList { get; }

Property value

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

Remarks

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.

See also

Reference

SPRelatedField class

SPRelatedField members

Microsoft.SharePoint namespace

List

LookupList