ActivityMetadata.GetImportedChildrenWithReflection 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 imported child activities using reflection.

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

public Collection<Activity> GetImportedChildrenWithReflection()

Return Value

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

A collection of imported child activities.

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

.NET Framework
Available since 4.0
Return to top