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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft