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
item
Type : Microsoft.SharePoint.SPListItemUn objet SPListItem .
inclusiveFilterStates
Type : Microsoft.SharePoint.Workflow.SPWorkflowStateUn objet SPWorkflowState . Tous les workflows dans cette collection doivent être un de ces États.
exclusiveFilterStates
Type : Microsoft.SharePoint.Workflow.SPWorkflowStateUn objet SPWorkflowState . Tous les workflows dans cette collection ne doivent pas contenir un de ces États.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Le paramètre item est null . |
Voir aussi
Référence
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