संपादित करें

इसके माध्यम से साझा किया गया


NewLateBinding.LateSetComplex Method

Definition

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

public:
 static void LateSetComplex(System::Object ^ Instance, Type ^ Type, System::String ^ MemberName, cli::array <System::Object ^> ^ Arguments, cli::array <System::String ^> ^ ArgumentNames, cli::array <Type ^> ^ TypeArguments, bool OptimisticSet, bool RValueBase);
public static void LateSetComplex (object Instance, Type Type, string MemberName, object[] Arguments, string[] ArgumentNames, Type[] TypeArguments, bool OptimisticSet, bool RValueBase);
public static void LateSetComplex (object? Instance, Type? Type, string MemberName, object?[]? Arguments, string?[]? ArgumentNames, Type[]? TypeArguments, bool OptimisticSet, bool RValueBase);
static member LateSetComplex : obj * Type * string * obj[] * string[] * Type[] * bool * bool -> unit
Public Shared Sub LateSetComplex (Instance As Object, Type As Type, MemberName As String, Arguments As Object(), ArgumentNames As String(), TypeArguments As Type(), OptimisticSet As Boolean, RValueBase As Boolean)

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.

OptimisticSet
Boolean

A Boolean value used to determine whether the set operation will work. Set to True when you believe that an intermediate value has been set in the property or field; otherwise False.

RValueBase
Boolean

A Boolean value that specifies when the base reference of the late reference is an RValue. Set to True when the base reference of the late reference is an RValue; this allows you to generate a run-time exception for late assignments to fields of RValues of value types. Otherwise, set to False.

Remarks

Similar to LateSet except that this method is use with complex expressions (for example, expressions in parentheses).

Applies to