Debug.getEnumText

Overview | Methods | This Package | All Packages

Debug.getEnumText

Retrieves the text name for a value defined in an enumerator class.

Syntax

public static String getEnumText( int value, Class enumClass )

Parameters

value

The value of the enumerator.

enumClass

The enumerator class that defines the value.

Return Value

Returns the name of the enumerator value.