Bewerken

Delen via


NativeActivityMetadata.SetDelegatesCollection Method

Definition

Adds the specified collection as delegates of the activity.

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))

Parameters

delegates
Collection<ActivityDelegate>

The delegates to add.

Remarks

This is the equivalent of calling AddDelegate for each item in the collection.

Applies to