SPFieldLookup Class

The SPFieldLookup class represents a lookup field.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldLookup

Public Properties

The following table shows the public properties of the SPFieldLookup class, the data type of each property, and a brief description of each.

Name Data Type Description
LookupField String Gets or sets the field from a non-local list to which this field is a lookup.
LookupList String Gets the GUID of the list to use for the lookup.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security