Bewerken

Share via


LateBinding.LateIndexGet(Object, Object[], String[]) Method

Definition

Returns a late-bound value from an object, using the specified index or parameters.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

o
Object

The object to return the value from.

args
Object[]

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[]

An array that contains the names of the parameters to which the values in the args array are passed.

Returns

If o is an array, the value from o at the location specified by 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.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to