[]
Query this instance for a particular COM GUID/interface support.
[CLSCompliant(false)]
public virtual void QueryInterface(Guid guid, out IntPtr outPtr)
Type | Name | Description |
---|---|---|
Guid | guid | GUID query interface |
IntPtr | outPtr | output object associated with this GUID, IntPtr.Zero in interface is not supported |
Query this instance for a particular COM interface support.
public virtual T QueryInterface<T>() where T : ComObject
Type | Description |
---|---|
T | An instance of the queried interface |
Name | Description |
---|---|
T | The type of the COM interface to query |
Queries a managed object for a particular COM interface support.
public static T QueryInterface<T>(object comObject) where T : ComObject
Type | Name | Description |
---|---|---|
object | comObject | The managed COM object. |
Type | Description |
---|---|
T | An instance of the queried interface |
Name | Description |
---|---|
T | The type of the COM interface to query |