Share via


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

'Declaration
Public Overrides Function GetFieldValueAsText ( _
    value As Object _
) As String
'Usage
Dim instance As SPFieldLookup
Dim value As Object
Dim returnValue As String

returnValue = instance.GetFieldValueAsText(value)
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