SPFieldLookup.LookupField Property

Gets or sets the field from a non-local list to which this field is a lookup.

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

Syntax

Public Property LookupField As String
    Get
    Set

Dim instance As SPFieldLookup
Dim value As String

value = instance.LookupField

instance.LookupField = value
public string LookupField { get; set; }

Property Value

Type: System.String
A string that contains the name of the field.

Remarks

If you set the LookupField property you must call the Update method for changes to take effect in the database.

See Also

Reference

SPFieldLookup Class

SPFieldLookup Members

Microsoft.SharePoint Namespace