NewLateBinding.LateGet Method

Definition

Executes a late-bound property get or field access call. This helper method is not meant to be called directly from your code.

public static object LateGet (object Instance, Type Type, string MemberName, object[] Arguments, string[] ArgumentNames, Type[] TypeArguments, bool[] CopyBack);
public static object? LateGet (object? Instance, Type? Type, string MemberName, object?[]? Arguments, string?[]? ArgumentNames, Type?[]? TypeArguments, bool[]? CopyBack);

Parameters

Instance
Object

An instance of the call object exposing the property or method.

Type
Type

The type of the call object.

MemberName
String

The name of the property or method on the call object.

Arguments
Object[]

An array containing the arguments to be passed to the property or method being called.

ArgumentNames
String[]

An array of argument names.

TypeArguments
Type[]

An array of argument types; used only for generic calls to pass argument types.

CopyBack
Boolean[]

An array of Boolean values that the late binder uses to communicate back to the call site which arguments match ByRef parameters. Each True value indicates that the arguments matched and should be copied out after the call to LateCall is complete.

Returns

An instance of the call object.

Applies to

Product Versies
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0