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

适用于