ComUtilities::IsSameComObject Method (Object^, Object^)
Visual Studio 2015
Verifies that the specified objects represent the same instance of an object. This method essentially compares the IUnknown pointers of the two objects, which is needed in scenarios where aggregation is involved.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- object1
-
Type:
System::Object^
The first item to compare. This parameter can be an object, interface or IntPtr.
- object2
-
Type:
System::Object^
The second item to compare. This parameter can be an object, interface or IntPtr.
Show: