Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.Int32A 32-bit integer that specifies the ID of the lookup field.
lookupValue
Type: System.StringA string that contains the value of the lookup field.