G
Guest
I have one resource telling me that if I want to expose just 4 out of 10
methods in my class to COM I simply apply the ComVisible attribute to the
class and set it to false, then apply the same ComVisible to the 4 methods I
want to expose and set it to true.
I then go to the MSDN and find that is says "Setting the attribute to false
for a specific type hides that type and its members. However, you cannot
make members of a type visible if the type is invisible."
These seem to contradict each other in a big way. Does anyone have a
definate answer to this one?
methods in my class to COM I simply apply the ComVisible attribute to the
class and set it to false, then apply the same ComVisible to the 4 methods I
want to expose and set it to true.
I then go to the MSDN and find that is says "Setting the attribute to false
for a specific type hides that type and its members. However, you cannot
make members of a type visible if the type is invisible."
These seem to contradict each other in a big way. Does anyone have a
definate answer to this one?