NewLateBinding.LateSetComplex Method (Object, Type, String, Object[], String[], Type[], Boolean, Boolean)

 

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

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static void LateSetComplex(
	object Instance,
	Type Type,
	string MemberName,
	object[] Arguments,
	string[] ArgumentNames,
	Type[] TypeArguments,
	bool OptimisticSet,
	bool RValueBase
)

Parameters

Instance
Type: System.Object

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

Type
Type: System.Type

The type of the call object.

MemberName
Type: System.String

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

Arguments
Type: System.Object[]

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

ArgumentNames
Type: System.String[]

An array of argument names.

TypeArguments
Type: System.Type[]

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

OptimisticSet
Type: System.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
Type: System.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.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone
Available since 8.1
Return to top
Show: