Share via


NewLateBinding.LateCanEvaluate Method

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

Indicates whether a call requires late-bound evaluation. 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> _
Public Shared Function LateCanEvaluate ( _
    instance As Object, _
    type As Type, _
    memberName As String, _
    arguments As Object(), _
    allowFunctionEvaluation As Boolean, _
    allowPropertyEvaluation As Boolean _
) As Boolean
[DebuggerStepThroughAttribute]
[DebuggerHiddenAttribute]
public static bool LateCanEvaluate(
    Object instance,
    Type type,
    string memberName,
    Object[] arguments,
    bool allowFunctionEvaluation,
    bool allowPropertyEvaluation
)

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.
  • allowFunctionEvaluation
    Type: System.Boolean
    A Boolean value that specifies whether to allow function evaluation.
  • allowPropertyEvaluation
    Type: System.Boolean
    A Boolean value that specifies whether to allow property evaluation.

Return Value

Type: System.Boolean
A Boolean value that indicates whether the expression requires late-bound evaluation.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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