Méthode | Description | |
---|---|---|
Add ( string name ) : EnumValue |
Adds a value to the enum which follows the last value added. If no values are in the enum, its value will be 0.
|
|
Add ( string name, int val ) : EnumValue |
Adds a value to the enum.
|
|
Add ( EnumValue val ) : void |
Adds a value to the enum.
|
|
AddRange ( IEnumerable |
Adds a range of values to the enum.
|
|
EnumLayout ( string name, BasicFieldType underlyingType ) : System |
Creates a named enum layout.
|
public Add ( string name ) : EnumValue | ||
name | string | The name of the value. |
Résultat | EnumValue |
public Add ( string name, int val ) : EnumValue | ||
name | string | The name of the value. |
val | int | The value. |
Résultat | EnumValue |
public AddRange ( IEnumerable |
||
values | IEnumerable |
The values to add. |
Résultat | void |
public EnumLayout ( string name, BasicFieldType underlyingType ) : System | ||
name | string | The name of the layout. |
underlyingType | BasicFieldType | The underlying type of the enum. Must be an integer type. |
Résultat | System |