Partager via


NewLateBinding.FallbackInvokeDefault1 Method

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

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
<DebuggerStepThroughAttribute> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<ObsoleteAttribute("do not use this method", True)> _
<DebuggerHiddenAttribute> _
Public Shared Function FallbackInvokeDefault1 ( _
    Instance As Object, _
    Arguments As Object(), _
    ArgumentNames As String(), _
    ReportErrors As Boolean _
) As Object
[DebuggerStepThroughAttribute]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("do not use this method", true)]
[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: 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.