staticMethodStr Function
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Validates that the specified static method exists in the specified class; if not, a compiler error occurs.
str staticMethodStr(class class, int method)
Parameters
Parameter |
Description |
---|---|
class |
The name of the class. |
method |
The name of the static method to validate. |
Return Value
The name of the static method if valid.
Remarks
This function is an intrinsic function, which is a metadata assertion function. Intrinsic functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.
See also
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).