strange behavior of interop - 12-28-2005 , 09:48 PM
In my csharp project I use an activex component. The component has two
interfaces, IA and IB, both contain methods and properties. In MS
C#.net Object Browser I can see IA properties marked as properties and
their names have not get_ or put_ prefixes, while IB properties in the
object browser are all marked as method (marked with the method icon)
and all have get_ / put_ prefixes. Thus, if I call the properties in c#
code without the get/put prefix i will get compiler error " does not
contain a definition for xxx".
Has anyone ever encountered this problem?
|Thread Tools||Search this Thread|