You must put the attribute in getter and setter separately. Like this:
using System; using System.ComponentModel; using System.Runtime.InteropServices; namespace ClassLibrary1 { [ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsDual)] public interface IFoo { int property { [Description("prop")] get; [Description("prop")] set; } } }
Repeating the description is inconvenient, but also required in the IDL.
source share