OfficeTask.ListId property

Returns the ID of the list that contains the workflow task that the task process is executing against.

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property ListId As String
    Get
    Set
'Usage
Dim instance As OfficeTask
Dim value As String

value = instance.ListId

instance.ListId = value
[ValidationOptionAttribute(ValidationOption.Required)]
public string ListId { get; set; }

Property value

Type: System.String
May be either a string representation of the GUID of the list or the display name of the list.

Remarks

This property is used for a variety of other activities and is used in the link generated for the Related Content field of the task list items that are created.

See also

Reference

OfficeTask class

OfficeTask members

Microsoft.Office.Workflow.Actions namespace