| 名前 | 解説 | |
|---|---|---|
![]() | Culture | Culture that should be used when converting values to/from string. |
ScriptEngineContextデータ型で公開されるメンバを以下の表に示します。
| 名前 | 解説 | |
|---|---|---|
![]() | GetObjectByName | Gets object by specified name. |
![]() | ToDateTime | Convert object to DateTime, throws an exception if conversion fails. |
![]() | ToDbl | オーバーロードされます。 Convert any object to double, throws an exception if conversion fails. |
![]() | ToInt | オーバーロードされます。 Convert any object to int, simple call ToDbl(Object,Boolean) (int)ToDbl(o, nullAsZero). |
![]() ![]() | TryAsBool | Tries to convert any value to bool. |
![]() | TryAsType | オーバーロードされます。 Tries to convert object to specified type. |
![]() ![]() | TryToDateTime | オーバーロードされます。 Tries to convert object to DateTime. |
![]() ![]() | TryToDbl | オーバーロードされます。 Tries to convert any object to double. |
![]() | TryToInt | Tries to convert any object to double, based on TryToDbl(Object,Boolean,Double). |
![]() ![]() | ValueToString | オーバーロードされます。 Converts specified value to string using specified culture and format string. |
![]() ![]() | ValueToStringCheckNull | オーバーロードされます。 Same as ValueToString(Object,CultureInfo) but returns "NULL" string if o is null or System.DBNull. |