GetEnumInt
public int GetEnumInt(string name, int defaultValue) ;
Get the value of the Enum type.
Parameter Name | Description |
---|---|
name | Name. |
defaultValue | Default value. It is returned when there is no parameter. |
The value of the parameter. If there is no parameter, it returns defaultValue.
public int GetEnumInt(int id, int defaultValue) ;
Get the value of the Enum type.
Parameter Name | Description |
---|---|
id | ID. |
defaultValue | Default value. It is returned when there is no parameter. |
The value of the parameter. If there is no parameter, it returns defaultValue.