O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required