<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _ <SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _ Public Class SPFieldLookup Inherits SPField
Dim instance As SPFieldLookup
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] [SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] public class SPFieldLookup : SPField
The field value for the SPFieldLookup class is contained in the SPFieldLookupValue class. For information about creating custom field value classes, see Custom Field Value Classes.
If you set properties of the SPFieldLookup class you must call the Update method for changes to take effect in the database.
An SPFieldLookup object can be rendered through the LookupField server control.
The SPFieldLookup class corresponds to the Lookup data type that is specified through the Type attribute of the Field element.