ELEnum Class

Defines the base class structure for an enumeration object.  

Namespace: elsystem

Methods
  Name Description
Public property GetNames() Returns a Vector of the names of the constants in the specified enumeration.
Public property Parse( s ) Returns the numeric value associated with the string representation (s) of an enumerated value.
Public property Parse( s, ignoreCase ) Returns the numeric value associated with the string representation (s) of an enumerated value. If ignoreCase is true then the casing used in the string is ignored. If ignoreCase is false, then the casing of the string is not ignored.
Public property ToString() Converts the enumerated value of this instance to a string.
Public property

ToStringPreserveCase()

Converts the enumerated value of this instance to a string, preserving the case of the enumerated value's representation.
Public property

TryParse( s, result )

Returns, in the Boolean result (output) parameter, true if the string parameter (s) can be converted to a numeric value. (The numeric value is not returned.)
Public property

TryParse( s, ignoreCase, result )

Returns, in the Boolean result (output) parameter, true if the string parameter (s) can be converted to a numeric value. (The numeric value is not returned.) The case of string s will be ignored if ignoreCase is true. The case of string s will not be ignored if ignoreCase is false.