none
Importing COM properties

    Question

  • When an imported COM interface includes methods with matching Get and Set methods, does that create an implied property? Say it imports GetText and SetText. Does that create a Text property on the C# side? What if the original documentation refers to a property as the "default property"?

    In the case of the methods in the interface I'm importing, they typically return HResult values. With a C# property, there's no place for the HResult to go.


    Will Pittenger

    Tuesday, April 25, 2017 5:12 PM