W3cubDocs

/Haxe C#

Enum

package cs.system

extends ValueType

implements IComparable, IConvertible, IFormattable

Available on cs

Methods

CompareTo (target:Dynamic):Int

GetTypeCode ():TypeCode

Static methods

static Format (enumType:Type, value:Dynamic, format:String):String

static GetName (enumType:Type, value:Dynamic):String

static GetNames (enumType:Type):NativeArray<String>

static GetUnderlyingType (enumType:Type):Type

static GetValues (enumType:Type):Array

static IsDefined (enumType:Type, value:Dynamic):Bool

static Parse (enumType:Type, value:String):Dynamic

static Parse (enumType:Type, value:String, ignoreCase:Bool):Dynamic

static ToObject (enumType:Type, value:UInt8):Dynamic

static ToObject (enumType:Type, value:UInt64):Dynamic

static ToObject (enumType:Type, value:UInt):Dynamic

static ToObject (enumType:Type, value:UInt16):Dynamic

static ToObject (enumType:Type, value:Int8):Dynamic

static ToObject (enumType:Type, value:Dynamic):Dynamic

static ToObject (enumType:Type, value:Int64):Dynamic

static ToObject (enumType:Type, value:Int):Dynamic

static ToObject (enumType:Type, value:Int16):Dynamic

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/Enum.html