Partager via


SPFieldUserValue - Constructeur (SPWeb, Int32, String)

Initialise une nouvelle instance de la classe SPFieldUserValue basée sur le site Web spécifié, ID de recherche et valeur de recherche.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    web As SPWeb, _
    lookupId As Integer, _
    lookupValue As String _
)
'Utilisation
Dim web As SPWeb
Dim lookupId As Integer
Dim lookupValue As String

Dim instance As New SPFieldUserValue(web, lookupId, _
    lookupValue)
public SPFieldUserValue(
    SPWeb web,
    int lookupId,
    string lookupValue
)

Paramètres

  • lookupId
    Type : System.Int32

    Entier 32 bits qui indique l'ID du champ utilisateur.

  • lookupValue
    Type : System.String

    La valeur du champ utilisateur.

Voir aussi

Référence

SPFieldUserValue classe

SPFieldUserValue - Membres

SPFieldUserValue - Surcharge

Microsoft.SharePoint - Espace de noms