SPWorkflowTemplateCollection Class
Represents the collection of workflow templates currently deployed on a site.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "WorkflowTemplateCollection", ServerTypeId := "{f64cc3d2-888a-43cc-b579-ef32f83338a4}", _
CollectionChildItemType := GetType(SPWorkflowTemplate))> _
Public Class SPWorkflowTemplateCollection _
Inherits SPBaseCollection
'Usage
Dim instance As SPWorkflowTemplateCollection
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "WorkflowTemplateCollection", ServerTypeId = "{f64cc3d2-888a-43cc-b579-ef32f83338a4}",
CollectionChildItemType = typeof(SPWorkflowTemplate))]
public class SPWorkflowTemplateCollection : SPBaseCollection
Remarks
Each SPWorkflowTemplate object represents a workflow template and contains members you can use to get or set information about the template, such as the instantiation data and the history and task lists for the template.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
SPWorkflowTemplateCollection Members
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation