NewLateBinding.FallbackInvokeDefault2 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)

Syntax

'Declaration
<DebuggerHiddenAttribute> _
<ObsoleteAttribute("do not use this method", True)> _
<DebuggerStepThroughAttribute> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Shared Function FallbackInvokeDefault2 ( _
    Instance As Object, _
    Arguments As Object(), _
    ArgumentNames As String(), _
    ReportErrors As Boolean _
) As Object
[DebuggerHiddenAttribute]
[ObsoleteAttribute("do not use this method", true)]
[DebuggerStepThroughAttribute]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static Object FallbackInvokeDefault2(
    Object Instance,
    Object[] Arguments,
    string[] ArgumentNames,
    bool ReportErrors
)

Parameters

  • Instance
    Type: System.Object
    An instance of the call object exposing the property or method.
  • Arguments
    Type: array<System.Object[]
    An array containing the arguments to be passed to the property or method being called.
  • ArgumentNames
    Type: array<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.

Version Information

Silverlight

Obsolete (does not compile) in 4 and later

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.