NativeActivityMetadata.GetChildrenWithReflection Method

Definition

Returns a collection of child activities using reflection.

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

Returns

A collection of child activities.

Remarks

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.

Applies to