SPFieldLookupValue Constructor (String)

Initializes a new instance of the SPFieldLookupValue class that is based on the specified field 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 ( _
    fieldValue As String _
)
'Usage
Dim fieldValue As String

Dim instance As New SPFieldLookupValue(fieldValue)
public SPFieldLookupValue(
    string fieldValue
)

Parameters

  • fieldValue
    Type: System.String

    A string that contains a field value.

Remarks

For information about the format for the fieldValue parameter, see the ToString() method.

See Also

Reference

SPFieldLookupValue Class

SPFieldLookupValue Members

SPFieldLookupValue Overload

Microsoft.SharePoint Namespace