ComUtilities Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class providing miscellaneous methods used when interacting with unmanaged code (COM objects) and interop types
public ref class ComUtilities abstract sealed
public ref class ComUtilities abstract sealed
class ComUtilities abstract sealed
public static class ComUtilities
type ComUtilities = class
Public Class ComUtilities
- Inheritance
-
ComUtilities
Methods
EnumerableFrom(IEnumHierarchies) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IEnumWindowFrames) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IVsEnumGuids) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IVsEnumSearchProviders) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IVsEnumTaskItems) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IVsUICollection) |
Converts a IVsUICollection to an IEnumerable<T>. |
EnumerableFrom(IVsUIEnumDataSourceProperties) |
Gets a .NET-style enumerator ( |
EnumerableFrom(IVsUIEnumDataSourceVerbs) |
Gets a .NET-style enumerator ( |
IsSameComObject(Object, Object) |
Verify that object represent the same instance of an object. This essentially compares the IUnkown pointers of the 2 objects. This is needed in scenario where aggregation is involved. |
QueryInterfaceIUnknown(Object) |
Retrieve the IUnknown for the managed or COM object passed in. |