Name

ClassInterfaceAttribute

Synopsis

This attribute specifies the interface that should be exposed to COM when you generate a type library. See ClassInterfaceType for the possible arguments to this attribute.

public sealed class ClassInterfaceAttribute : Attribute {
// Public Constructors
   public method ClassInterfaceAttribute(
        ClassInterfaceType classInterfaceType);  
   public method ClassInterfaceAttribute(
        short classInterfaceType);  
// Public Instance Properties
   public field ClassInterfaceType Value{get; } 
}

Hierarchy

System.ObjectSystem.AttributeClassInterfaceAttribute

Valid On

Assembly, Class

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.