共用方式為


SPWorkItem.ItemGuid Property

Provides a globally unique identifier (GUID) of a list item when a work item must be correlated with a specific list item. This is an optional property that is used when working with list items.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property ItemGuid As Guid
    Get
'Usage
Dim instance As SPWorkItem
Dim value As Guid

value = instance.ItemGuid
public Guid ItemGuid { get; }

Property Value

Type: System.Guid
Returns a GUID for a list item associated with an SPWorkItem object.

Remarks

Compare ItemId.

See Also

Reference

SPWorkItem Class

SPWorkItem Members

Microsoft.SharePoint Namespace