Click or drag to resize
Galactic API

SharePointListItemGetLookupFieldValue Method

Gets the value contained in a lookup field.

Namespace:  Galactic.SharePoint
Assembly:  Galactic.SharePoint (in Galactic.SharePoint.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public KeyValuePair<int, string> GetLookupFieldValue(
	string fieldName
)

Parameters

fieldName
Type: SystemString
The name of the lookup field to get the value of.

Return Value

Type: KeyValuePairInt32, String
A KeyValuePair with the key equal to the ID of the lookup value, and the value equal to its value. An pair with a negative ID is returned if the value could not be retrieved, or the field name was invalid.
See Also