SPFieldLookup methods

The SPFieldLookup type exposes the following members.

Methods

  Name Description
Public method AnnotateField Adds attributes to the specified XML node and assigns them values from the properties of this SPField object. (Overrides SPField.AnnotateField(XmlNode).)
Public method Delete Deletes the field. (Inherited from SPField.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCustomProperty Gets the value of custom property with the specified name. (Inherited from SPField.)
Public method GetDependentLookupInternalNames Returns the internal names of all secondary lookup fields that are dependent on a primary lookup field.
Public method GetFieldValue Converts the specified field value into a field type value. (Overrides SPField.GetFieldValue(String).)
Public method GetFieldValueAsHtml Gets the field value in HTML format in order to render the field value directly on the page. (Overrides SPField.GetFieldValueAsHtml(Object).)
Public method GetFieldValueAsText Converts the field type value into text for use in Display mode. (Overrides SPField.GetFieldValueAsText(Object).)
Public method GetFieldValueForClientRender Converts the field type value into object for use in client Display, Edit and New item forms. (Overrides SPField.GetFieldValueForClientRender(SPItem, SPControlMode).)
Public method GetFieldValueForEdit Gets the field value that is rendered in Edit mode in Edit and New forms. (Inherited from SPField.)
Public method GetHashCode (Inherited from Object.)
Public method GetJsonClientFormFieldSchema Gets an object containing information from the field's schema that is useful for client rendering of the field in forms. (Overrides SPField.GetJsonClientFormFieldSchema(SPControlMode).)
Public method GetProperty Gets the value of the specified property. (Inherited from SPField.)
Public method GetType (Inherited from Object.)
Public method GetValidatedString Validates and converts the field value into a serialized form. (Inherited from SPField.)
Protected method HasValue This member is reserved for internal use and is not intended to be used directly from your code. (Overrides SPField.HasValue(Object).)
Public method ListsFieldUsedIn Returns information about the Web sites and lists in which the current field is used. (Inherited from SPField.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAdded Handles the event that occurs after a field is added. (Inherited from SPField.)
Public method OnAddingToContentType Handles the event that occurs when a field is added to a specified content type. (Inherited from SPField.)
Public method OnDeleting Handles the event that occurs when a field is being deleted. (Inherited from SPField.)
Public method OnDeletingFromContentType Handles the event that occurs when a field is deleted from a specified content type. (Inherited from SPField.)
Protected method OnInitFieldNode This member is reserved for internal use and is not intended to be used directly from your code. (Overrides SPField.OnInitFieldNode().)
Public method OnUpdated Handles the event that occurs after changes are made to a field. (Overrides SPField.OnUpdated().)
Public method ParseAndSetValue When overridden in a derived class, sets the specified field item to the specified value. (Inherited from SPField.)
Public method ParseValue When overridden in a derived class, parses a potential value of the field and returns an object that can be assigned as the value of the field. (Inherited from SPField.)
Public method RenderFieldValueAsJson Returns the specified value in JSON format. (Overrides SPField.RenderFieldValueAsJson(Object).)
Public method RevertCustomizations Reverts customizations made to the field schema. (Inherited from SPField.)
Public method SetCustomProperty Sets a value for the specified property. (Inherited from SPField.)
Public method ToString Returns the title of the field. (Inherited from SPField.)
Public method Update() Updates the database with changes that are made to the field. (Inherited from SPField.)
Public method Update(Boolean) Updates the database with changes that are made to the field and optionally propagates the changes to lists that implement the field. (Inherited from SPField.)
Public method ValidateAndParseValue Validates and parses the input value and returns a valid object that can be the value of the field. (Overrides SPField.ValidateAndParseValue(SPListItem, String).)
Public method ValidateParseAndSetValue Calls ValidateAndParseValue(SPListItem, String) and assigns the returned object as the value of the field. (Inherited from SPField.)

Top

See also

Reference

SPFieldLookup class

Microsoft.SharePoint namespace