LateBinding.LateIndexGet(Object, Object[], String[]) 方法

定义

使用指定的索引或参数从对象返回一个后期绑定值。Returns a late-bound value from an object, using the specified index or parameters.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static System::Object ^ LateIndexGet(System::Object ^ o, cli::array <System::Object ^> ^ args, cli::array <System::String ^> ^ paramnames);
public static object? LateIndexGet (object o, object?[]? args, string?[]? paramnames);
public static object LateIndexGet (object o, object[] args, string[] paramnames);
static member LateIndexGet : obj * obj[] * string[] -> obj
Public Shared Function LateIndexGet (o As Object, args As Object(), paramnames As String()) As Object
Public Function LateIndexGet (o As Object, args As Object(), paramnames As String()) As Object

参数

o
Object

要从其返回值的对象。The object to return the value from.

args
Object[]

一个数组,其中包含指定 o 中的位置的一个或多个索引值(如果 o 是一维或多维数组),或包含要传递给对象 o 的参数值。An array of one or more index values that specify the location in o if o is a one-dimensional or multi-dimensional array, or argument values to pass to the object o.

paramnames
String[]

一个数组,其中包含要向其传递 args 数组中的值的参数的名称。An array that contains the names of the parameters to which the values in the args array are passed.

返回

Object

如果 o 是一个数组,则为 o 中处于 args 所指定的位置的值。If o is an array, the value from o at the location specified by args. 如果 o 是一个对象,则为使用 o 中的命名参数及其在 paramnames 中的关联值调用 args 时的返回值。If o is an object, the return value of o invoked by using the named parameters in paramnames and their associated values in args.

注解

此类支持 Visual Basic 编译器,不应在代码中直接使用。This class supports the Visual Basic compiler and is not intended to be used directly from your code.

适用于