Object.handle Method [AX 2012]

Retrieves the handle of the class of the object.

public classId handle()

Run On


Return Value

Type: ClassId Extended Data Type
The handle, that is, the classId property, of the class of the current object.

There is no guarantee that the handle of a class will remain unchanged in later releases, or after an export or import for user-defined classes. It is strongly advised that the value that is returned by this method will not be used as a persistent constant to refer to the class.

Community Additions