Share via


SPWorkflowTaskCollection Members

Include Protected Members
Include Inherited 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 UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
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 GetEnumerator (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
Protected method Init Initializes the workflow tasks based on the SPWorkflowCollection and SPWorkflowFilter.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPWorkflowTaskCollection Class

Microsoft.SharePoint.Workflow Namespace