ActivityMetadata.GetImportedDelegatesWithReflection Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns a collection of delegates using reflection.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public Collection<ActivityDelegate> GetImportedDelegatesWithReflection()

Return Value

Type: System.Collections.ObjectModel.Collection<ActivityDelegate>

A collection of delegates.

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.

.NET Framework
Available since 4.0
Return to top