Share via


SysDefaultData.accessMenuFunction Method [AX 2012]

Calls the accessMenuFunction method of the parent class to obtain the MenuFunction for the current class.

Syntax

protected MenuFunction accessMenuFunction()

Run On

Called

Return Value

Type: MenuFunction Class
The menu function that applies to this class.

Examples

void exampleMethod() 
{ 
    MenuFunction   menuFunction; 
    SysDefaultData sysDefaultData; 
 
    menuFunction = sysDefaultData.accessMenuFunction(); 
    print menuFunction.name(); 
    pause; 
}

See Also

Reference

SysDefaultData Class