Metodo NativeActivityMetadata.AddVariable (Variable)

.NET Framework (current version)
 

Data di pubblicazione: ottobre 2016

Aggiunge la variabile specificata alla raccolta dei metadati di variabili.

Spazio dei nomi:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public void AddVariable(
	Variable variable
)

Parametri

variable
Type: System.Activities.Variable

Variabile da aggiungere.

Variables added using this method are considered part of the activity’s publicly configurable surface, that is, they are to be provided by the consumer of the activity. An activity’s implementation cannot access variables added using this method. Activities added through M:System.Activities.NativeActivityMetadata.AddImportedChild(System.Activities.Activity) or M:System.Activities.NativeActivityMetadata.AddChild(System.Activities.Activity) (and any of their non-implementation child activities) can access variables added using this method.

.NET Framework
Disponibile da 4.0
Torna all'inizio
Mostra: