Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.