Partager via


SPWorkflowCollection - Constructeur (SPListItem, SPWorkflowState, SPWorkflowState)

Initialise une nouvelle instance de la classe SPWorkflowCollection qui correspond aux critères de la paramètres inclusiveFilterStates et exclusiveFilterStates pour tous les flux de travail sur l'objet SPListItem .

Espace de noms :  Microsoft.SharePoint.Workflow
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    item As SPListItem, _
    inclusiveFilterStates As SPWorkflowState, _
    exclusiveFilterStates As SPWorkflowState _
)
'Utilisation
Dim item As SPListItem
Dim inclusiveFilterStates As SPWorkflowState
Dim exclusiveFilterStates As SPWorkflowState

Dim instance As New SPWorkflowCollection(item, inclusiveFilterStates, _
    exclusiveFilterStates)
public SPWorkflowCollection(
    SPListItem item,
    SPWorkflowState inclusiveFilterStates,
    SPWorkflowState exclusiveFilterStates
)

Paramètres

Exceptions

Exception Condition
ArgumentNullException

Le paramètre item est null .

Voir aussi

Référence

SPWorkflowCollection classe

SPWorkflowCollection - Membres

SPWorkflowCollection - Surcharge

Microsoft.SharePoint.Workflow - Espace de noms

Autres ressources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview