Redigeeri

Jagamisviis:


Binder.ReorderArgumentArray(Object[], Object) Method

Definition

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)

Parameters

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.

Remarks

The common language runtime calls this method if state is not null after a return from BindToMethod.

Applies to