Returns an instance of a type that represents a COM object.
An instance of the class corresponding to the Type object that represents the requested unmanaged COM object.
| Exception | Condition |
|---|---|
| ArgumentException | t is not attributed with ComImportAttribute. |