[]
Query instance for a particular COM GUID/interface support.
public virtual IntPtr QueryInterfaceOrNull(Guid guid)
| Type | Name | Description |
|---|---|---|
| Guid | guid | GUID query interface |
| Type | Description |
|---|---|
| IntPtr |
Queries a managed object for a particular COM interface support.
public static T QueryInterfaceOrNull<T>(IntPtr comPointer) where T : ComObject
| Type | Name | Description |
|---|---|---|
| IntPtr | comPointer | A pointer to a COM object. |
| Type | Description |
|---|---|
| T | An instance of the queried interface |
| Name | Description |
|---|---|
| T | The type of the COM interface to query |
Query Interface for a particular interface support.
public virtual T QueryInterfaceOrNull<T>() where T : ComObject
| Type | Description |
|---|---|
| T | An instance of the queried interface or null if it is not supported |
| Name | Description |
|---|---|
| T |