Muokkaa

Jaa


LateBinding.LateGet Method

Definition

Returns a late-bound value from an object.

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

public:
 static System::Object ^ LateGet(System::Object ^ o, Type ^ objType, System::String ^ name, cli::array <System::Object ^> ^ args, cli::array <System::String ^> ^ paramnames, cli::array <bool> ^ CopyBack);
public static object? LateGet (object? o, Type? objType, string name, object?[]? args, string?[]? paramnames, bool[]? CopyBack);
public static object LateGet (object o, Type objType, string name, object[] args, string[] paramnames, bool[] CopyBack);
static member LateGet : obj * Type * string * obj[] * string[] * bool[] -> obj
Public Shared Function LateGet (o As Object, objType As Type, name As String, args As Object(), paramnames As String(), CopyBack As Boolean()) As Object
Public Function LateGet (o As Object, objType As Type, name As String, args As Object(), paramnames As String(), CopyBack As Boolean()) As Object

Parameters

o
Object

The object to return the value from.

objType
Type

The type of the object.

name
String

The member name of o to retrieve a 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.

CopyBack
Boolean[]

An array of Boolean values, where True indicates that the associated parameter is passed ByRef.

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