ActivityMetadata.GetVariablesWithReflection Method ()

.NET Framework 4.6 and 4.5

Returns a collection of variables using reflection.

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

public Collection<Variable> GetVariablesWithReflection()

Return Value

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

A collection of variables.

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

.NET Framework
Available since 4.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft