FieldLookup class

Specifies a lookup field.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Field
      Microsoft.SharePoint.Client.FieldLookup
        Microsoft.SharePoint.Client.FieldUser
        Microsoft.SharePoint.Client.Taxonomy.TaxonomyField

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

Syntax

'Declaration
Public Class FieldLookup _
    Inherits Field
'Usage
Dim instance As FieldLookup
public class FieldLookup : Field

Remarks

A lookup field takes its value from a field in another list. The list that provides data for the lookup field is called the lookup list. To get a reference to the lookup list, access the FieldLookup object's LookupList property. To determine which field in the lookup list is providing information, access the LookupField property.

Note

The FieldLookup class corresponds to the Lookup data type that is specified in declarative XML through the Type attribute of the Field element. The List attribute of the Field element corresponds to the LookupList property of the FieldLookup class.

Thread safety

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

See also

Reference

FieldLookup members

Microsoft.SharePoint.Client namespace