How do I determine if an object is a COM object? I need to call Marshal.FinalReleaseComObject on all COM objects in an array of type Object.
+4
A:
typeof(myObject).IsCOMObject
or
instanceOfMyObject.GetType().IsCOMObject
Yuriy Faktorovich
2010-02-26 20:16:53