Share via


RuntimeArgument Konstruktory

Definice

Inicializuje novou instanci RuntimeArgument třídy .

Přetížení

RuntimeArgument(String, Type, ArgumentDirection)

Inicializuje novou instanci třídy pomocí názvu, datového RuntimeArgument typu a směru argumentu.

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Inicializuje novou instanci třídy pomocí názvu, datového RuntimeArgument typu, směru argumentu a hodnoty, která označuje, zda RuntimeArgument je nutné svázat s hodnotou.

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

Inicializuje novou instanci RuntimeArgument třídy pomocí názvu, datového typu, směru argumentu a seznamu názvů skupin přetížení.

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

Inicializuje novou instanci RuntimeArgument třídy s názvem, datovým typem, směr argumentu, zda RuntimeArgument je nutné svázat s hodnotou a seznam přetížených názvů skupin.

RuntimeArgument(String, Type, ArgumentDirection)

Inicializuje novou instanci třídy pomocí názvu, datového RuntimeArgument typu a směru argumentu.

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)

Parametry

name
String

Název procesu RuntimeArgument.

argumentType
Type

Typ .RuntimeArgument

direction
ArgumentDirection

Směr toku dat argumentem

Platí pro

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Inicializuje novou instanci třídy pomocí názvu, datového RuntimeArgument typu, směru argumentu a hodnoty, která označuje, zda RuntimeArgument je nutné svázat s hodnotou.

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)

Parametry

name
String

Název procesu RuntimeArgument.

argumentType
Type

Datový typ .RuntimeArgument

direction
ArgumentDirection

Směr toku dat argumentem

isRequired
Boolean

true k označení, že RuntimeArgument je nutné, aby byla vázána na hodnotu; jinak false.

Platí pro

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

Inicializuje novou instanci RuntimeArgument třídy pomocí názvu, datového typu, směru argumentu a seznamu názvů skupin přetížení.

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))

Parametry

name
String

Název procesu RuntimeArgument.

argumentType
Type

Datový typ .RuntimeArgument

direction
ArgumentDirection

Směr toku dat argumentem

overloadGroupNames
List<String>

Skupiny přetížení, které se vztahují k tomuto RuntimeArgument.

Platí pro

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

Inicializuje novou instanci RuntimeArgument třídy s názvem, datovým typem, směr argumentu, zda RuntimeArgument je nutné svázat s hodnotou a seznam přetížených názvů skupin.

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))

Parametry

name
String

Název procesu RuntimeArgument.

argumentType
Type

Datový typ .RuntimeArgument

direction
ArgumentDirection

Směr toku dat argumentem

isRequired
Boolean

true k označení, že RuntimeArgument je nutné, aby byla vázána na hodnotu; jinak false.

overloadGroupNames
List<String>

Názvy skupin přetížení, které se vztahují k tomuto RuntimeArgument.

Poznámky

Povinné argumenty, které jsou nevázané, mají za následek chyby ověřování, které se zobrazí v době návrhu.

Hodnota je nastavena RuntimeArgument.IsRequired na hodnotu true , pokud System.Activities.RequiredArgumentAttribute se na argument použije .

Skupiny přetížení lze nastavit pro argumenty prostřednictvím .OverloadGroupAttribute

Platí pro