Επεξεργασία

Κοινή χρήση μέσω


IfElseActivity.AddBranch Method

Definition

Adds a new branch to the IfElseActivity.

Overloads

AddBranch(ICollection<Activity>)

Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.

AddBranch(ICollection<Activity>, ActivityCondition)

Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.

AddBranch(ICollection<Activity>)

Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.

public:
 System::Workflow::Activities::IfElseBranchActivity ^ AddBranch(System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ activities);
public System.Workflow.Activities.IfElseBranchActivity AddBranch (System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> activities);
member this.AddBranch : System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> -> System.Workflow.Activities.IfElseBranchActivity
Public Function AddBranch (activities As ICollection(Of Activity)) As IfElseBranchActivity

Parameters

activities
ICollection<Activity>

A collection of activities to add to the new branch.

Returns

The updated IfElseBranchActivity with the new branches.

See also

Applies to

AddBranch(ICollection<Activity>, ActivityCondition)

Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.

public:
 System::Workflow::Activities::IfElseBranchActivity ^ AddBranch(System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ activities, System::Workflow::ComponentModel::ActivityCondition ^ branchCondition);
public System.Workflow.Activities.IfElseBranchActivity AddBranch (System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> activities, System.Workflow.ComponentModel.ActivityCondition branchCondition);
member this.AddBranch : System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> * System.Workflow.ComponentModel.ActivityCondition -> System.Workflow.Activities.IfElseBranchActivity
Public Function AddBranch (activities As ICollection(Of Activity), branchCondition As ActivityCondition) As IfElseBranchActivity

Parameters

activities
ICollection<Activity>

A collection of activities to add to the new branch.

branchCondition
ActivityCondition

An ActivityCondition that determines whether the branch should be run.

Returns

The updated IfElseBranchActivity with the new branches.

See also

Applies to