Share via


SPFieldUserValue constructor (SPWeb, String)

Initializes a new instance of the SPFieldUserValue class based on the specified Web site and field value.

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

Syntax

'Declaration
Public Sub New ( _
    web As SPWeb, _
    fieldValue As String _
)
'Usage
Dim web As SPWeb
Dim fieldValue As String

Dim instance As New SPFieldUserValue(web, fieldValue)
public SPFieldUserValue(
    SPWeb web,
    string fieldValue
)

Parameters

See also

Reference

SPFieldUserValue class

SPFieldUserValue members

SPFieldUserValue overload

Microsoft.SharePoint namespace