I18NSessionContextConvertFromNeutral Method |
Converts from neutral format into the format specific for the session locale.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic string ConvertFromNeutral(
string svalue,
string vtype,
[OptionalAttribute] string datePtrn
)
Public Function ConvertFromNeutral (
svalue As String,
vtype As String,
<OptionalAttribute> datePtrn As String
) As String
public String ConvertFromNeutral(
String svalue,
String vtype,
/** @attribute OptionalAttribute */ String datePtrn
)
public function ConvertFromNeutral(
svalue : String,
vtype : String,
datePtrn : String
) : String
Parameters
- svalue
- Type: SystemString
Locale specific string representation of a value that has to be converted.
- vtype
- Type: SystemString
Type of the value; only the following types are considered to be locale specific - 'date' | 'float' | 'decimal'
- datePtrn (Optional)
- Type: SystemString
The parameter is taken into consideration only if vtype='date'. In this case the parameter can have one the following
values:
- short_date
- long_date
- short_date_time
- long_date_time
- short_time
- long_time
Return Value
Type:
String
Locale specific string representation of the
svalue.
ExceptionsException | Condition |
---|
FormatException | svalue does not contain a valid string representation of the type defined by the vtype |
See Also