NativeActivityMetadata.GetArgumentsWithReflection 方法

定义

返回通过使用反射获取的参数的集合。Returns a collection of arguments obtained by using reflection.

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

返回

Collection<RuntimeArgument>

参数的集合。A collection of arguments.

注解

此方法使用活动的 TypeDescriptor 来检查类型的所有公共属性 Argument ,并将其返回到集合中。This method uses an activity's TypeDescriptor to examine all public properties of type Argument and returns them in a collection.

适用于