Marshal.GetComInterfaceForObject Method
.NET Framework 4.5
Returns an interface pointer that represents an interface for an object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
GetComInterfaceForObject(Object, Type) | Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is enabled by default. |
|
GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) | Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is controlled by the specified customization mode. |