Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a COMVariant object of the VT_ERROR variant type with no value.
Syntax
client server public static COMVariant createNoValue()
Run On
Called
Return Value
Type: COMVariant Class
The new COMVariant object.
Remarks
A COMVariant object with no value can be used for COM parameters which are optional.
Examples
The following example creates an empty COMVariant object.
COMVariant noValue;
noValue = COMVariant::createNoValue();
info(noValue.toString());