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
web
Type : Microsoft.SharePoint.SPWebLe site Web dans lequel vous souhaitez créer le champ.
lookupId
Type : System.Int32Entier 32 bits qui indique l'ID du champ utilisateur.
lookupValue
Type : System.StringLa valeur du champ utilisateur.