SPFieldCollection.AddLookup method

Creates a lookup field in the collection of fields for one list that points to a field in the collection for another list.

Overload list

  Name Description
Public method AddLookup(String, Guid, Boolean) Creates a lookup field in the collection of fields for one list that points to a field in the collection for another list in the same website.
Public method AddLookup(String, Guid, Guid, Boolean) Creates a lookup field in the collection of fields for one list that points to a field in the collection for another list in a different website.

Top

See also

Reference

SPFieldCollection class

SPFieldCollection members

Microsoft.SharePoint namespace