| 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
)
Public Function GetLookupFieldValue (
fieldName As String
) As KeyValuePair(Of Integer, String)
public:
KeyValuePair<int, String^> GetLookupFieldValue(
String^ fieldName
)
member GetLookupFieldValue :
fieldName : string -> KeyValuePair<int, string>
Parameters
- fieldName
- Type: SystemString
The name of the lookup field to get the value of.
Return Value
Type:
KeyValuePairInt32,
StringA 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