SPWeb.WorkflowTemplates Property
Gets the collection of workflow templates of the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property WorkflowTemplates As SPWorkflowTemplateCollection
Get
'Usage
Dim instance As SPWeb
Dim value As SPWorkflowTemplateCollection
value = instance.WorkflowTemplates
[ClientCallableAttribute]
public SPWorkflowTemplateCollection WorkflowTemplates { get; }
Property Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection
A collection of SPWorkflowTemplate objects.