Generics and COM Interop don't mix
Posted by: Rick Strahls WebLog,
on 10 Jul 2007 |
View original
COM Interop is rarely fun, but it looks like it's getting to be less and less useful as time goes on and new .NET Runtime features come along that don't work well over COM. It appears that Generic types can't be exported over COM and be usable to a client like Visual FoxPro. When I create a class like this: [ComVisible(true)]
[ClassInterface(ClassInterfaceType.AutoDual)]
public class Person
{
public string Name
{
get { return _Name; }
set { _Name...