SPFieldLookupValue constructor (Int32, String)

Initializes a new instance of the SPFieldLookupValue class that is based on the specified lookup identifier (ID) and value.

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

Syntax

'Declaration
Public Sub New ( _
    lookupId As Integer, _
    lookupValue As String _
)
'Usage
Dim lookupId As Integer
Dim lookupValue As String

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

Parameters

  • lookupId
    Type: System.Int32

    A 32-bit integer that specifies the ID of the lookup field.

  • lookupValue
    Type: System.String

    A string that contains the value of the lookup field.

See also

Reference

SPFieldLookupValue class

SPFieldLookupValue members

SPFieldLookupValue overload

Microsoft.SharePoint namespace