Skip to main content
  
Object.owner Method [AX 2012]

Returns the instance that owns the object.

Syntax
public Object owner()

Run On

Called

Return Value

Type: Object Class
The owner object of this object. For example, if the object is a field in a form, the method returns the FormRun object that owns the field object.
Remarks

This method applies to classes that are owned by an element class, such as forms, reports, and queries.