共用方式為


SPFieldLookup.FieldValueType property

取得 [查詢] 欄位的值的類型。

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

Syntax

'宣告
Public Overrides ReadOnly Property FieldValueType As Type
    Get
'用途
Dim instance As SPFieldLookup
Dim value As Type

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

Property value

Type: System.Type
欄位值的型別。對於允許多個值的查閱欄位,型別是SPFieldLookupValueCollection。對於不允許多個值的查閱欄位,型別會是SPFieldLookupValue

請參閱

參照

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace

AllowMultipleValues