Partilhar via


SPFieldUserValueCollection Constructor (SPWeb, String)

Initializes a new instance of the SPFieldUserValueCollection class that is based on the specified website 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 SPFieldUserValueCollection(web, fieldValue)
public SPFieldUserValueCollection(
    SPWeb web,
    string fieldValue
)

Parameters

See Also

Reference

SPFieldUserValueCollection Class

SPFieldUserValueCollection Members

SPFieldUserValueCollection Overload

Microsoft.SharePoint Namespace