Binder.ReorderArgumentArray 方法

BindToMethod 返回后,将 args 参数还原为从 BindToMethod 传入时的状态。

**命名空间:**System.Reflection
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
Public MustOverride Sub ReorderArgumentArray ( _
    ByRef args As Object(), _
    state As Object _
)
用法
Dim instance As Binder
Dim args As Object()
Dim state As Object

instance.ReorderArgumentArray(args, state)
public abstract void ReorderArgumentArray (
    ref Object[] args,
    Object state
)
public:
virtual void ReorderArgumentArray (
    array<Object^>^% args, 
    Object^ state
) abstract
public abstract void ReorderArgumentArray (
    /** @ref */ Object[] args, 
    Object state
)
JScript 不支持通过引用传递值类型参数。

参数

  • args
    传入的实参。参数的类型和值都可更改。
  • state
    联编程序提供的对象,用于跟踪参数的重新排序。

备注

如果 state 从 BindToMethod 返回后不为 空引用(在 Visual Basic 中为 Nothing),则公共语言运行库将调用此方法。

平台

Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

.NET Compact Framework

受以下版本支持:2.0、1.0

请参见

参考

Binder 类
Binder 成员
System.Reflection 命名空间