GetMxDataType method
- Last UpdatedJul 23, 2024
- 1 minute read
Returns the value stored in the MxValue as an MxDataType.
Class
IMxValue
Syntax
[C#]
MxDataType GetMxDataType();
[Visual C++]
HRESULT GetMxDataType(
[out, retval] MxDataType *pVal
);
Parameters
pVal
Receives the value.
Returns
S_OK - Success
MX_E_ConversionNotSupported - The stored value is a type that cannot be converted to MxDataType.
MX_E_UnableToConvertString - The string held in the MxValue cannot be converted to an MxDataType.
MX_E_Overflow - Conversion of the stored value results in overflow.
E_POINTER - An invalid pointer was passed in.