Export (0) Print
Expand All

NewLateBinding.FallbackInvokeDefault1 Method

Note: This API is now obsolete.

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

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

[ObsoleteAttribute("do not use this method", true)]
[DebuggerStepThroughAttribute]
[DebuggerHiddenAttribute]
public static Object FallbackInvokeDefault1(
	Object Instance,
	Object[] Arguments,
	string[] ArgumentNames,
	bool ReportErrors
)

Parameters

Instance
Type: System.Object

An instance of the call object exposing the property or method. If Instance is of type IDynamicMetaObjectProvider, then bind using the Dynamic Language Runtime; otherwise perform standard late-binding.

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.

ReportErrors
Type: System.Boolean

A Boolean value used to specify whether to throw exceptions when an error is encountered. Set to True to throw exceptions. Set to False to return Nothing when an error is encountered.

Return Value

Type: System.Object
An instance of the call object.

.NET Framework

Obsolete (does not compile) in 4 and later

.NET Framework Client Profile

Obsolete (does not compile) in 4 and later

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft