共用方式為


NativeActivityMetadata.SetVariablesCollection 方法

定義

將所指定變數集合新增至活動的變數。

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>

要加入的變數。

適用於