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 method InterfaceTypeAttribute(
        ComInterfaceType interfaceType);  
   public method InterfaceTypeAttribute(short interfaceType);  
// Public Instance Properties
   public field ComInterfaceType Value{get; } 
}

Hierarchy

System.ObjectSystem.AttributeInterfaceTypeAttribute

Valid On

Interface

Get C# in a Nutshell 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.