GetEnumInt
GetEnumInt(string, int)
public int GetEnumInt(string name, int defaultValue) ;
説明
Enum型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| name | 名前。 | 
| defaultValue | デフォルトの値。パラメータがない場合に返される。 | 
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。
GetEnumInt(int, int)
public int GetEnumInt(int id, int defaultValue) ;
説明
Enum型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| id | ID。 | 
| defaultValue | デフォルトの値。パラメータがない場合に返される。 | 
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。