SPWorkflowTaskCollection members

Represents a collection of the workflow tasks for a workflow instance.

The SPWorkflowTaskCollection type exposes the following members.

Constructors

  Name Description
Public method SPWorkflowTaskCollection(SPListItem, SPWorkflowFilter) Initializes a new instance of the SPWorkflowTaskCollection class that contains tasks created by workflows running on a list item and a filter criteria, based on workflows or a list item and a filter criteria.
Public method SPWorkflowTaskCollection(SPWorkflowCollection, SPWorkflowFilter) Initializes a new instance of the SPWorkflowTaskCollection class, based upon which tasks in this collection will be created by one of the workflows in the provided collection and what criteria for workflows or tasks in this collection is specified.

Top

Properties

  Name Description
Public property Count Gets the total number of workflow tasks in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Guid] Gets the specified workflow task.
Public property Item[Int32] Gets the specified workflow task.
Public property Xml Returns a string that represents the workflow task collection definition in XML format.
Public property XmlDoc Gets an XML File that contains an XML representation of the tasks represented in the collection.

Top

Methods

  Name Description
Public method CopyTo Copies the workflow tasks to the specified SPWorkflowTask array, starting at index.
Public method Delete Deletes the specified workflow task.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method Init Initializes the workflow tasks based on the SPWorkflowCollection and SPWorkflowFilter.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPWorkflowTaskCollection class

Microsoft.SharePoint.Workflow namespace