Rediger

Del via


RuntimeArgument Constructors

Definition

Initializes a new instance of the RuntimeArgument class.

Overloads

RuntimeArgument(String, Type, ArgumentDirection)

Initializes a new instance of the RuntimeArgument class using a name, data type, and argument direction.

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a value that indicates whether the RuntimeArgument is required to be bound to a value.

RuntimeArgument(String, Type, ArgumentDirection, List<String>)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a list of overload group names.

RuntimeArgument(String, Type, ArgumentDirection, Boolean, List<String>)

Initializes a new instance of the RuntimeArgument class with a name, data type, argument direction, whether the RuntimeArgument is required to be bound to a value, and a list of overload group names.

RuntimeArgument(String, Type, ArgumentDirection)

Initializes a new instance of the RuntimeArgument class using a name, data type, and argument direction.

public:
 RuntimeArgument(System::String ^ name, Type ^ argumentType, System::Activities::ArgumentDirection direction);
public RuntimeArgument (string name, Type argumentType, System.Activities.ArgumentDirection direction);
new System.Activities.RuntimeArgument : string * Type * System.Activities.ArgumentDirection -> System.Activities.RuntimeArgument
Public Sub New (name As String, argumentType As Type, direction As ArgumentDirection)

Parameters

name
String

The name of the RuntimeArgument.

argumentType
Type

The type of the RuntimeArgument.

direction
ArgumentDirection

The direction of data flow through an argument.

Applies to

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a value that indicates whether the RuntimeArgument is required to be bound to a value.

public:
 RuntimeArgument(System::String ^ name, Type ^ argumentType, System::Activities::ArgumentDirection direction, bool isRequired);
public RuntimeArgument (string name, Type argumentType, System.Activities.ArgumentDirection direction, bool isRequired);
new System.Activities.RuntimeArgument : string * Type * System.Activities.ArgumentDirection * bool -> System.Activities.RuntimeArgument
Public Sub New (name As String, argumentType As Type, direction As ArgumentDirection, isRequired As Boolean)

Parameters

name
String

The name of the RuntimeArgument.

argumentType
Type

The data type of the RuntimeArgument.

direction
ArgumentDirection

The direction of data flow through an argument.

isRequired
Boolean

true to indicate that the RuntimeArgument is required to be bound to a value; otherwise false.

Applies to

RuntimeArgument(String, Type, ArgumentDirection, List<String>)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a list of overload group names.

public:
 RuntimeArgument(System::String ^ name, Type ^ argumentType, System::Activities::ArgumentDirection direction, System::Collections::Generic::List<System::String ^> ^ overloadGroupNames);
public RuntimeArgument (string name, Type argumentType, System.Activities.ArgumentDirection direction, System.Collections.Generic.List<string> overloadGroupNames);
new System.Activities.RuntimeArgument : string * Type * System.Activities.ArgumentDirection * System.Collections.Generic.List<string> -> System.Activities.RuntimeArgument
Public Sub New (name As String, argumentType As Type, direction As ArgumentDirection, overloadGroupNames As List(Of String))

Parameters

name
String

The name of the RuntimeArgument.

argumentType
Type

The data type of the RuntimeArgument.

direction
ArgumentDirection

The direction of data flow through an argument.

overloadGroupNames
List<String>

The overload groups that apply to this RuntimeArgument.

Applies to

RuntimeArgument(String, Type, ArgumentDirection, Boolean, List<String>)

Initializes a new instance of the RuntimeArgument class with a name, data type, argument direction, whether the RuntimeArgument is required to be bound to a value, and a list of overload group names.

public:
 RuntimeArgument(System::String ^ name, Type ^ argumentType, System::Activities::ArgumentDirection direction, bool isRequired, System::Collections::Generic::List<System::String ^> ^ overloadGroupNames);
public RuntimeArgument (string name, Type argumentType, System.Activities.ArgumentDirection direction, bool isRequired, System.Collections.Generic.List<string> overloadGroupNames);
new System.Activities.RuntimeArgument : string * Type * System.Activities.ArgumentDirection * bool * System.Collections.Generic.List<string> -> System.Activities.RuntimeArgument
Public Sub New (name As String, argumentType As Type, direction As ArgumentDirection, isRequired As Boolean, overloadGroupNames As List(Of String))

Parameters

name
String

The name of the RuntimeArgument.

argumentType
Type

The data type of the RuntimeArgument.

direction
ArgumentDirection

The direction of data flow through an argument.

isRequired
Boolean

true to indicate that the RuntimeArgument is required to be bound to a value; otherwise false.

overloadGroupNames
List<String>

The names of the overload groups that apply to this RuntimeArgument.

Remarks

Required arguments that are unbound result in validation errors that are displayed at design time.

The RuntimeArgument.IsRequired is set to true if the System.Activities.RequiredArgumentAttribute is applied to an argument.

Overload groups can be set on arguments through the OverloadGroupAttribute.

Applies to