Share via


WorkflowDefinitionCollection class

Represents a collection of WorkflowDefinitionobjects.

Inheritance hierarchy

System.Object
  System.Collections.ObjectModel.Collection<WorkflowDefinition>
    Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionCollection

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallableTypeAttribute(Name := "WorkflowDefinitionCollection", ServerTypeId := "{66f013c8-f126-4f84-bc22-8fd0e9a3e7d3}",  _
    CollectionChildItemType := GetType(WorkflowDefinition))> _
Public Class WorkflowDefinitionCollection _
    Inherits Collection(Of WorkflowDefinition)
'Usage
Dim instance As WorkflowDefinitionCollection
[ClientCallableTypeAttribute(Name = "WorkflowDefinitionCollection", ServerTypeId = "{66f013c8-f126-4f84-bc22-8fd0e9a3e7d3}", 
    CollectionChildItemType = typeof(WorkflowDefinition))]
public class WorkflowDefinitionCollection : Collection<WorkflowDefinition>

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

WorkflowDefinitionCollection members

Microsoft.SharePoint.WorkflowServices namespace