Partilhar via


SPUserCodeWorkflowContext.ListId Property

Gets or sets the identifier of the list that contains the list item on which the workflow instance is running.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property ListId As Guid
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Guid

value = instance.ListId

instance.ListId = value
public Guid ListId { get; set; }

Property Value

Type: System.Guid
The list identifier that contains the list item on which the workflow instance is running.

See Also

Reference

SPUserCodeWorkflowContext Class

SPUserCodeWorkflowContext Members

Microsoft.SharePoint.UserCode Namespace