Static Public Member Functions | |
| static object | ReleaseComObject (object obj) |
| static bool | HasMethod (dynamic obj, string method) |
| Tests whether a given object responds to a given method. More... | |
Definition at line 26 of file ComHelpers.cs.
|
inlinestatic |
Tests whether a given object responds to a given method.
| obj | Object to query. |
| method | Method to test. |
This method cannot be used to determine whether a COM object exposes a particular method, because System.__COMObject has only a limited number of methods and does not reveal the COM interfaces methods this way.
Definition at line 60 of file ComHelpers.cs.