Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified workflow task.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Delete ( _
iIndex As Integer _
)
'Usage
Dim instance As SPWorkflowTaskCollection
Dim iIndex As Integer
instance.Delete(iIndex)
public void Delete(
int iIndex
)
Parameters
iIndex
Type: System.Int32The index of the workflow task in the collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | iIndex is less than 0. |
Remarks
This method deletes the workflow task at the index specified by the iIndex parameter from the collection.
See Also
Reference
SPWorkflowTaskCollection Class