The Object attribute can be used to determine an object reference to the Variant content if the content of the variant is an object. In all other cases, the value Nothing is returned.
Syntax | |
Object | |
Return value | |
Type |
Description |
Typeless COM Object reference. (IDispatch) |
If the content of the variant is VT_OBJECT, the COM reference (IDispatch) is returned. |
Parameter | |
None |