Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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