The <apiSyntax> element provides the representation in the programming language for the declared interface for the API item.
In the <apiDef> element, the <apiSyntax> element can supplement or replace the semantic declaration of the same interface. When a specialization provides a complete representation of the interface within a specialized <apiDef> element, it can omit the <apiSyntax> element. The Java API reference takes this approach.
The following example shows an <apiSyntax> element for a Visual Basic property:
<apiClassifier id="IRXEAbstarction.Model"> <apiClassifierDetail> <apiSyntax> <┘ </apiSyntax> </apiClassifierDetail> </apiClassifier>
apiClassifierDetail, apiDetail, apiOperationDetail, apiValueDetail
( (apiSyntaxText) (one or more) then (apiSyntaxItem) (any number))