RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::IDispatch* Operator

Converts the System::Variant to an System::Variant::IDispatch* interface pointer.

Pascal
operator IDispatch*;
C++
__fastcall operator IDispatch*();

This conversion operator returns an OLE Automation object System::Variant::IDispatch* interface pointer that is a conversion of this System::Variant

If the conversion operation is not possible because of an invalid variant type conversion, an ESystem::VariantError exception is thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!