Quantcast
Channel: C# genrics
Viewing all articles
Browse latest Browse all 6

C# genrics

$
0
0

Hi,

The COM model does not support the concept of generic types. Consequently, generic types cannot be used directly for COM interop.

If you expose Generic types ot COM, it may throw the error 'Type library exporter encountered a generic type instance in a signature. Generic classes may not be exposed to COM....' .

Have a look at the following links.

Interoperating Using Generic Types

C# exposing class to COM - Generic Collections

What are alternatives to generic collections for COM Interop?

Exposing a collection class to COM


Viewing all articles
Browse latest Browse all 6


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>