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

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

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

This conversion operator returns an OLE object System::Variant::IUnknown* 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!