共用方式為


NativeActivityMetadata.SetDelegatesCollection 方法

定義

加入指定的集合做為活動的委派。

public:
 void SetDelegatesCollection(System::Collections::ObjectModel::Collection<System::Activities::ActivityDelegate ^> ^ delegates);
public void SetDelegatesCollection (System.Collections.ObjectModel.Collection<System.Activities.ActivityDelegate> delegates);
member this.SetDelegatesCollection : System.Collections.ObjectModel.Collection<System.Activities.ActivityDelegate> -> unit
Public Sub SetDelegatesCollection (delegates As Collection(Of ActivityDelegate))

參數

delegates
Collection<ActivityDelegate>

要加入的委派。

備註

這相當於呼叫集合中每個項目的 AddDelegate

適用於