Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetFieldValueAsText method

SPFieldLookup.GetFieldValueAsText method

Converts the field type value into text for use in Display mode.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override string GetFieldValueAsText(
	Object value
)

Parameters

value
Type: System.Object

The value to convert.

Return value

Type: System.String
The converted value.

This method returns empty if the value is null .

This method returns a set of values separated by semicolons if the AllowMultipleValues property is set to true.

Show:
© 2015 Microsoft