SPFieldLookup.FieldValueType property

Gets the value type of the lookup field.

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

Syntax

'Declaration
Public Overrides ReadOnly Property FieldValueType As Type
    Get
'Usage
Dim instance As SPFieldLookup
Dim value As Type

value = instance.FieldValueType
public override Type FieldValueType { get; }

Property value

Type: System.Type
The type of the field value. For lookup fields that allow multiple values, the type is SPFieldLookupValueCollection; for lookup fields that do not allow multiple values, the type is SPFieldLookupValue.

See also

Reference

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace

AllowMultipleValues