SPFieldLookup.GetFieldValue Method
SharePoint 2010
Converts the specified field value into a field type value.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- value
- Type: System.String
The field value to convert into a field type value.
This method returns null if value is null or empty.
This method returns an SPFieldLookupValueCollection type value if the AllowMultipleValues property is set to true; otherwise, it returns an SPFieldLookupValue type value.