COMVariant.sCode Method [AX 2012]
Gets or sets the value of a COMVariant object of the VT_ERROR data type.
If you pass in a value that has a different data type than the object, the data type of the object will be changed to match the data type of the value.
A COMVariant object has an scode data type if its data type is set to COMVariantType::VT_ERROR.
The scode data type is a COM data type that is equivalent to the Win32 HRESULT data type, which is most used as return values for COM functions.
Community Additions
ADD
Show: