Binder.ReorderArgumentArray(Object[], Object) 方法

定义

BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object) 返回后,将 args 参数还原为从 BindToMethod 传入时的状态。Upon returning from BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object), restores the args argument to what it was when it came from BindToMethod.

public:
 abstract void ReorderArgumentArray(cli::array <System::Object ^> ^ % args, System::Object ^ state);
public abstract void ReorderArgumentArray (ref object?[] args, object state);
public abstract void ReorderArgumentArray (ref object[] args, object state);
abstract member ReorderArgumentArray : Object[] * obj -> unit
Public MustOverride Sub ReorderArgumentArray (ByRef args As Object(), state As Object)

参数

args
Object[]

传入的实参。The actual arguments that are passed in. 参数的类型和值都可更改。Both the types and values of the arguments can be changed.

state
Object

联编程序提供的对象,用于跟踪参数的重新排序。A binder-provided object that keeps track of argument reordering.

注解

如果不 statenull 从返回后,公共语言运行时将调用此方法 BindToMethodThe common language runtime calls this method if state is not null after a return from BindToMethod.

适用于