AxdBase.getSchema Method [AX 2012]

Gets the XSD of the Axd document.

Syntax

public AifDocumentSchemaXml getSchema()

Run On

Server

Return Value

Type: AifDocumentSchemaXml Extended Data Type
The XSD of the Axd document.

Remarks

The getSchema method is implemented on the AxdBase class, and should not be overridden by the document classes.

Examples

The following example shows how to get the schema of AxdSalesOrder.

    AxdBase         axdBase =  
  AxdBase::newClassId(classNum(AxdSalesOrder)); 
    AifDocumentXml  xsd; 
 
    xsd = axdBase.getSchema();

See Also

AxdBase Class

AifDocumentXml Extended Data Type

AxdSalesOrder Class