共用方式為


SPFieldLookupValue constructor (Int32, String)

初始化根據指定的查詢識別項 (ID) 和值的SPFieldLookupValue類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    lookupId As Integer, _
    lookupValue As String _
)
'用途
Dim lookupId As Integer
Dim lookupValue As String

Dim instance As New SPFieldLookupValue(lookupId, _
    lookupValue)
public SPFieldLookupValue(
    int lookupId,
    string lookupValue
)

參數

  • lookupId
    Type: System.Int32

    32 位元的整數,指定查閱欄位的 ID。

  • lookupValue
    Type: System.String

    字串,包含 [查詢] 欄位的值。

請參閱

參照

SPFieldLookupValue class

SPFieldLookupValue members

SPFieldLookupValue overload

Microsoft.SharePoint namespace