How do you hide Public .NET Classes and other public members from COM?

Q

Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM?

✍: Guest

A
In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which public .NET classes and members are included in the generated type library. This attribute applies hierarchically for the assembly, class, and member levels.

2009-04-09, 8009👍, 0💬