Share via


NewLateBinding.LateCallInvokeDefault Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Executes a late-bound 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
<DebuggerStepThroughAttribute> _
<DebuggerHiddenAttribute> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Shared Function LateCallInvokeDefault ( _
    Instance As Object, _
    Arguments As Object(), _
    ArgumentNames As String(), _
    ReportErrors As Boolean _
) As Object
[DebuggerStepThroughAttribute]
[DebuggerHiddenAttribute]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static Object LateCallInvokeDefault(
    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

Supported in: 5, 4

Platforms

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