Share via


AxdXmlReader.readEnum Method [AX 2012]

Reads the enum value from XML.

Syntax

protected anytype readEnum(EnumId enumId)

Run On

Called

Parameters

Return Value

Type: anytype
The value read from the XML.

Remarks

The reader will read the enum value from XML and create an enum with the given value. An error is thrown if the text does not represent a value of the enum that is specified by the enum ID.

See Also

Reference

AxdXmlReader Class