InterfaceTypeAttribute
InterfaceTypeAttribute is a .NET attribute used to specify the interface type that a class or struct implements. It is primarily used in conjunction with the COM interop features of the .NET Framework to define how a managed type is exposed to COM clients.
When a class or struct is marked with InterfaceTypeAttribute, the attribute's value indicates the specific COM
InterfaceIsDual is used when the interface supports both early binding (through vtables) and late binding (through
This attribute is important for controlling how COM clients interact with .NET objects, ensuring correct method