NativeActivityMetadata.GetDelegatesWithReflection Method

Definition

Returns a collection of delegates using reflection.

public:
 System::Collections::ObjectModel::Collection<System::Activities::ActivityDelegate ^> ^ GetDelegatesWithReflection();
public System.Collections.ObjectModel.Collection<System.Activities.ActivityDelegate> GetDelegatesWithReflection ();
member this.GetDelegatesWithReflection : unit -> System.Collections.ObjectModel.Collection<System.Activities.ActivityDelegate>
Public Function GetDelegatesWithReflection () As Collection(Of ActivityDelegate)

Returns

A collection of delegates.

Remarks

This method uses an activity's TypeDescriptor to examine all public properties of type ActivityDelegate, or IList<T> or ICollection<T> where T derives from ActivityDelegate, and returns them in a collection.

Applies to