Name

InterfaceTypeAttribute

Synopsis

This attribute is used to create a .NET interface that maps a COM interface into your managed application. See ComInterfaceType for the available values.

public sealed class InterfaceTypeAttribute : Attribute {
// Public Constructors
   public InterfaceTypeAttribute(ComInterfaceType interfaceType);
   public InterfaceTypeAttribute(short interfaceType);
// Public Instance Properties
   public ComInterfaceType Value{get; }
}

Hierarchy

System.Object System.Attribute InterfaceTypeAttribute

Valid On

Interface

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.