Udostępnij za pośrednictwem


SPFieldLookup.FieldValueType Property

Gets the value type of the lookup field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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