ComUtilities::QueryInterfaceIUnknown Method (Object^)
Visual Studio 2015
Retrieves the IUnknown for the specified managed or COM object.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- objectToQuery
-
Type:
System::Object^
Managed or COM object.
Release should be called on the returned value when the interface pointer is no longer needed.
Show: