bovender framework
C# framework that implements MVVM and more
Bovender.ComHelpers Class Reference

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...
 

Detailed Description

Definition at line 26 of file ComHelpers.cs.

Member Function Documentation

static bool Bovender.ComHelpers.HasMethod ( dynamic  obj,
string  method 
)
inlinestatic

Tests whether a given object responds to a given method.

Parameters
objObject to query.
methodMethod to test.
Returns
True or false.

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.


The documentation for this class was generated from the following file: