ActivityMetadata.SetVariablesCollection(Collection<Variable>) 方法

定义

将指定的变量集合添加到活动的变量中。

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>

要添加的变量。

适用于