Freigeben über


SPFieldUserValue-Konstruktor (SPWeb, Int32, String)

Initialisiert eine neue Instanz der Klasse SPFieldUserValue basierend auf der angegebenen Website, Nachschlage-ID und Suchwert.

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

Syntax

'Declaration
Public Sub New ( _
    web As SPWeb, _
    lookupId As Integer, _
    lookupValue As String _
)
'Usage
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
)

Parameter

  • lookupId
    Typ: System.Int32

    Eine 32-Bit-Ganzzahl, die angibt, die das Benutzerfeld-ID.

Siehe auch

Referenz

SPFieldUserValue Klasse

SPFieldUserValue-Member

SPFieldUserValue-Überladung

Microsoft.SharePoint-Namespace