SPFieldLookup.FieldValueType property

Gets the value type of the lookup field.

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


Public Overrides ReadOnly Property FieldValueType As Type
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


SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace