Class MyEnum<T>
Inheritance
System.Object
MyEnum<T>
Assembly: VRage.Library.dll
Syntax
public static class MyEnum<T> : Object where T : struct, IComparable, IFormattable, IConvertible, ValueType
Type Parameters
Fields
UnderlyingType
Declaration
public static readonly Type UnderlyingType
Field Value
Type |
Description |
System.Type |
|
Values
Declaration
public static readonly T[] Values
Field Value
Properties
Name
Declaration
public static string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetName(T)
Declaration
public static string GetName(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type |
Description |
System.String |
|
GetValue(T)
Declaration
public static ulong GetValue(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type |
Description |
System.UInt64 |
|
SetValue(UInt64)
Declaration
public static T SetValue(ulong value)
Parameters
Type |
Name |
Description |
System.UInt64 |
value |
|
Returns