Partager via


NewLateBinding.FallbackCall Method

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

Note: This API is now obsolete.

Executes a late-bound method or function 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)

Syntax

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

Parameters

  • Instance
    Type: System.Object
    An instance of the call object exposing the property or method.
  • MemberName
    Type: System.String
    The name of the property or method on the call object.
  • 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.
  • IgnoreReturn
    Type: System.Boolean
    A Boolean value indicating whether or not the return value can be ignored.

Return Value

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

Remarks

Similar to CallByName.

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.