W3cubDocs

/Haxe C#

Enum

package cs.system

extends ValueType

implements IComparable, IConvertible, IFormattable

@:struct@:abstract@:libType@:csNative@:native("System.Enum") Available on cs

Methods

@:final @:overload CompareTo (target:Dynamic):Int

@:final @:overload GetTypeCode ():TypeCode

Static methods

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

@:final @:overload static GetName (enumType:Type, value:Dynamic):String

@:final @:overload static GetNames (enumType:Type):NativeArray<String>

@:final @:overload static GetUnderlyingType (enumType:Type):Type

@:final @:overload static GetValues (enumType:Type):Array

@:final @:overload static IsDefined (enumType:Type, value:Dynamic):Bool

@:final @:overload static Parse (enumType:Type, value:String):Dynamic

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

@:final @:overload static ToObject (enumType:Type, value:UInt8):Dynamic

@:final @:overload static ToObject (enumType:Type, value:UInt64):Dynamic

@:final @:overload static ToObject (enumType:Type, value:UInt):Dynamic

@:final @:overload static ToObject (enumType:Type, value:UInt16):Dynamic

@:final @:overload static ToObject (enumType:Type, value:Int8):Dynamic

@:final @:overload static ToObject (enumType:Type, value:Dynamic):Dynamic

@:final @:overload static ToObject (enumType:Type, value:Int64):Dynamic

@:final @:overload static ToObject (enumType:Type, value:Int):Dynamic

@:final @:overload static ToObject (enumType:Type, value:Int16):Dynamic

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