Edit

Share via


ArgumentDirection Enum

Definition

Specifies the direction of data flow for an Argument.

C#
public enum ArgumentDirection
Inheritance
ArgumentDirection

Fields

Name Value Description
In 0

An Argument that represents the flow of data into a workflow or activity.

Out 1

An Argument that represents the flow of data out of a workflow or activity.

InOut 2

An Argument that represents the flow of data into and out of a workflow or activity.

Examples

In this example, an InArgument<T> of type String is created using the Create method of the Argument class.

C#
Argument a = Argument.Create(typeof(string), ArgumentDirection.In);  

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1