471,326 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

COM Interop Show only some classes

How can I expose some classes within my assembly to COM but not others?

Thanks

Alan
Dec 21 '05 #1
2 1068
Alan,
How can I expose some classes within my assembly to COM but not others?


Use the ComVisible attribute.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Dec 21 '05 #2
Thanks!

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:ec**************@TK2MSFTNGP15.phx.gbl...
Alan,
How can I expose some classes within my assembly to COM but not others?


Use the ComVisible attribute.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Dec 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Anand G | last post: by
reply views Thread by Nadav | last post: by
2 posts views Thread by Andrew S. Giles | last post: by
2 posts views Thread by Christopher H. Laco | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.