Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPFieldLookup.GetFieldValue method

Converts the specified field value into a field type value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public override Object GetFieldValue(
	string value
)

Parameters

value
Type: System.String

The field value to convert into a field type value.

Return value

Type: System.Object
The 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.