1C:Enterprise and COM types are mapped as follows:
- Values of VTYPE_EMPTY type are mapped to Undefined values. When such a value is passed as a method parameter, the default parameter value is used.
-
Values of VTYPE_I2, VTYPE_I4, VTYPE_ERROR, and VTYPE_UI1 types are mapped to integer values, they are stored in lVal.
-
Values of VTYPE_BOOL type are mapped to boolean values, they are stored in bVal.
-
Values of VTYPE_R4, VTYPE_R8, and VTYPE_CY types are mapped to noninteger values, they are stored in dblVal.
-
Values of VTYPE_DATE type are mapped to date values, they are stored in date.
-
Values of VTYPE_TM type are mapped to date values, they are stored in struct tm tmVal.
-
Values of VTYPE_PSTR type are mapped to string char* values, they are stored in pstrVal with length specified in strLen.
-
Values of VTYPE_PWSTR type are mapped to string WCHAR_T* values, they are stored in pwstrVal with length specified in wstrLen.
-
Values of VTYPE_BLOB type are mapped to binary data, they are stored in pstrVal with length specified in strLen.
Warning! VTYPE_INTERFACE and VTYPE_VARIANT types are not supported.
Note. Numeric values passed as parameters from a web client can have any numeric types.
The VTYPE_BLOB type is not supported in the web client.
Next page: Specifics of add-in development using Native API