共用方式為


SPFieldUserValue constructor (SPWeb, Int32, String)

初始化根據指定的 Web 站台、 尋查識別碼和查閱值的SPFieldUserValue類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    web As SPWeb, _
    lookupId As Integer, _
    lookupValue As String _
)
'用途
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
)

參數

  • lookupId
    Type: System.Int32

    指定使用者欄位識別碼的 32 位元整數。

請參閱

參照

SPFieldUserValue class

SPFieldUserValue members

SPFieldUserValue overload

Microsoft.SharePoint namespace