Wednesday 9 January 2013

Microsoft Dynamics AX 2012 R2 - classIdGet Function


Retrieves the numeric identifier (the class ID) for the class of which the object is initialized.

Function

  • int classIdGet(class object)

Parameters

  • Parameter: object
  • Description: The object for which to get the class ID.

Return Value

  • The class ID of the specified object.

Example

  • X++
static void classIdGetExample(Args _args)
{
    int i;
    WorkTimeCheck w;
    ;
    i = classIdGet(w);
    print "Class ID for object is " + int2Str(i);
    pause;
}

My above blog is based on Microsoft's Official information.

I hope this blog about 'Microsoft Dynamics AX 2012 R2 - classIdGet Function' was informative. Please feel free to leave your comments.

No comments:

Post a Comment