System.Runtime.InteropServices.InterfaceTypeAttribute indicates whether a managed interface is dual, dispatch-only or IUnknown-only when exposed to COM. InterfaceTypeAttribute can be set to a field of the enumeration System.Runtime.InteropServices.ComInterfaceType.