For more information about the DESCKIND enumeration, see the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.
Indicates that a System.Runtime.InteropServices.FUNCDESC structure was returned.
Indicates that an IMPLICITAPPOBJ was returned.
Indicates an end-of-enumeration marker.
Indicates that no match was found.
Indicates that a TYPECOMP was returned.
Indicates that a VARDESC was returned.