Click or drag to resize

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.20.39432
Syntax
public string ConvertFromNeutral(
	string svalue,
	string vtype,
	[OptionalAttribute] string datePtrn
)

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.
Exceptions
ExceptionCondition
FormatExceptionsvalue does not contain a valid string representation of the type defined by the vtype
See Also