Export (0) Print
Expand All

Marshal.GetComInterfaceForObject Method

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.

  NameDescription
Public method Static member 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.
Public method Static member 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.
Top

Community Additions

ADD
Show:
© 2014 Microsoft