Binder.ReorderArgumentArray Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Upon returning from BindToMethod, restores the args argument to what it was when it came from BindToMethod.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public MustOverride Sub ReorderArgumentArray ( _
    ByRef args As Object(), _
    state As Object _
)
public abstract void ReorderArgumentArray(
    ref Object[] args,
    Object state
)

Parameters

  • args
    Type: array<System.Object[]%
    The actual arguments that are passed in. Both the types and values of the arguments can be changed.
  • state
    Type: System.Object
    A binder-provided object that keeps track of argument reordering.

Remarks

The common language runtime calls this method if state is not nulla null reference (Nothing in Visual Basic) after a return from BindToMethod.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.