SysUmlClass.format Method [AX 2012]

Returns the UML element format string.

protected str format()

Run On

Called

Return Value

Type: str
A string.

This string that is returned is used by the toString method. It returns the Visio UML add-in string format template for this UML element.

Use strfmt to format the string with data. The string format is a Microsoft-internal unsupported format.

This example demonstrates the use of the SysUmlClass class. However, this example will not compile in a job as it must be run in the context of a class, form, or other object.

public str toString() 
{ 
    //Return this object as a string 
    return strfmt( this.format(), 
        '{78AFCC20-8921-4f80-901A-ECDF64FAAF52}', 
        '{83DA135C-303E-480a-B3D8-909C6413FD49}', 
        'BOM', 
        'ISNOTABSTRACT' );   
}

Community Additions

ADD
Show: