共用方式為


SPFieldLookupValue.LookupId property

取得或設定 [查詢] 欄位的識別項 (ID)。

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

Syntax

'宣告
Public Property LookupId As Integer
    Get
    Set
'用途
Dim instance As SPFieldLookupValue
Dim value As Integer

value = instance.LookupId

instance.LookupId = value
public int LookupId { get; set; }

Property value

Type: System.Int32
32 位元的整數,指定查閱欄位的 ID。

請參閱

參照

SPFieldLookupValue class

SPFieldLookupValue members

Microsoft.SharePoint namespace