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)

Syntax

public override string GetFieldValueAsText(
    Object value
)

Parameters

Return value

Type: System.String
The converted value.

Remarks

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.

See also

Reference

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace