Making assembly visible to a COM component

The following steps are necessary to make an assembly visible to a COM component:

  • Set the Register for COM option under the build configuration.
  • Set the ComVisible attribute to true for each class you want exposed.
  • Set the ComVisible attribute to false for any class members you want hidden.
  • Set the ComVisible attribute to true for any class members that you want visible.
Ebook Download
View all
Learn
View all