共用方式為


SPWorkItem.UserId property

會取得指定的使用者識別碼建立SPWorkItem物件執行個體的整數。

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

Syntax

'宣告
Public ReadOnly Property UserId As Integer
    Get
'用途
Dim instance As SPWorkItem
Dim value As Integer

value = instance.UserId
public int UserId { get; }

Property value

Type: System.Int32
會傳回整數,會識別之使用者建立的工作項目。

請參閱

參照

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace