RuntimeArgument Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy RuntimeArgument.

Przeciążenia

RuntimeArgument(String, Type, ArgumentDirection)

Inicjuje RuntimeArgument nowe wystąpienie klasy przy użyciu nazwy, typu danych i kierunku argumentu.

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Inicjuje nowe wystąpienie RuntimeArgument klasy przy użyciu nazwy, typu danych, kierunku argumentu i wartości wskazującej, czy RuntimeArgument wymagane jest powiązanie z wartością.

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

Inicjuje RuntimeArgument nowe wystąpienie klasy przy użyciu nazwy, typu danych, kierunku argumentu i listy nazw grup przeciążenia.

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

Inicjuje RuntimeArgument nowe wystąpienie klasy o nazwie, typie danych, kierunku argumentu, czy RuntimeArgument wymagane jest powiązanie z wartością i listą nazw grup przeciążenia.

RuntimeArgument(String, Type, ArgumentDirection)

Inicjuje RuntimeArgument nowe wystąpienie klasy przy użyciu nazwy, typu danych i kierunku 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

Nazwa elementu RuntimeArgument.

argumentType
Type

Typ elementu RuntimeArgument.

direction
ArgumentDirection

Kierunek przepływu danych przez argument.

Dotyczy

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Inicjuje nowe wystąpienie RuntimeArgument klasy przy użyciu nazwy, typu danych, kierunku argumentu i wartości wskazującej, czy RuntimeArgument wymagane jest powiązanie z wartością.

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

Nazwa elementu RuntimeArgument.

argumentType
Type

Typ danych elementu RuntimeArgument.

direction
ArgumentDirection

Kierunek przepływu danych przez argument.

isRequired
Boolean

true , aby wskazać, że RuntimeArgument element jest wymagany do powiązania z wartością; w przeciwnym razie false.

Dotyczy

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

Inicjuje RuntimeArgument nowe wystąpienie klasy przy użyciu nazwy, typu danych, kierunku argumentu i listy nazw grup przeciążenia.

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

Nazwa elementu RuntimeArgument.

argumentType
Type

Typ danych elementu RuntimeArgument.

direction
ArgumentDirection

Kierunek przepływu danych przez argument.

overloadGroupNames
List<String>

Grupy przeciążenia, które mają zastosowanie do tego RuntimeArgumentelementu .

Dotyczy

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

Inicjuje RuntimeArgument nowe wystąpienie klasy o nazwie, typie danych, kierunku argumentu, czy RuntimeArgument wymagane jest powiązanie z wartością i listą nazw grup przeciążenia.

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

Nazwa elementu RuntimeArgument.

argumentType
Type

Typ danych elementu RuntimeArgument.

direction
ArgumentDirection

Kierunek przepływu danych przez argument.

isRequired
Boolean

true , aby wskazać, że RuntimeArgument element jest wymagany do powiązania z wartością; w przeciwnym razie false.

overloadGroupNames
List<String>

Nazwy grup przeciążeń, które mają zastosowanie do tego RuntimeArgumentelementu .

Uwagi

Wymagane argumenty, które są niepowiązane, powodują błędy walidacji wyświetlane w czasie projektowania.

Parametr RuntimeArgument.IsRequired jest ustawiany na true wartość , jeśli System.Activities.RequiredArgumentAttribute element jest stosowany do argumentu.

Grupy przeciążenia można ustawić dla argumentów za pomocą elementu OverloadGroupAttribute.

Dotyczy