DynamicValue.TryInvokeMember Method
Provides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public override bool TryInvokeMember(
InvokeMemberBinder binder,
Object[] args,
out Object result
)
VB
Public Overrides Function TryInvokeMember (
binder As InvokeMemberBinder,
args As Object(),
<OutAttribute> ByRef result As Object
) As Boolean
Parameters
binder |
Type: System.Dynamic.InvokeMemberBinder |
args |
Type: .System.Object. |
result |
Type: System.Object. |
Return Value
Type: Boolean
true if the operation is successful; otherwise, false. If this
method returns false, the run-time binder of the language
determines the behavior. (In most cases, a language-specific
run-time exception is thrown.)