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