Share via


SysDictClass::invokeObjectMethod Method [AX 2012]

Invokes an object method on a given object.

Syntax

client server public static anytype invokeObjectMethod(
    Object _object, 
    IdentifierName _methodName, 
   [boolean _tryBaseClass])

Run On

Called

Parameters

  • _tryBaseClass
    Type: boolean
    A Boolean value that indicates whether the base class should be inspected if the method is not directly available on the type of object.

Return Value

Type: anytype
The value that is returned from the invoked method.

See Also

Reference

SysDictClass Class