ActivityMetadata.SetVariablesCollection(Collection<Variable>) 方法

定義

將所指定變數集合新增至活動的變數。Adds the specified collection of variables to the activity's variables.

public:
 void SetVariablesCollection(System::Collections::ObjectModel::Collection<System::Activities::Variable ^> ^ variables);
public void SetVariablesCollection (System.Collections.ObjectModel.Collection<System.Activities.Variable> variables);
member this.SetVariablesCollection : System.Collections.ObjectModel.Collection<System.Activities.Variable> -> unit
Public Sub SetVariablesCollection (variables As Collection(Of Variable))

參數

variables
Collection<Variable>

要加入的變數。The variables to add.

適用於