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 ClassInterfaceAttribute(ClassInterfaceTypeclassInterfaceType
); public ClassInterfaceAttribute(shortclassInterfaceType
); // Public Instance Properties public ClassInterfaceType Value{get; } }
Hierarchy
System.Object
→
System.Attribute
→
ClassInterfaceAttribute
Valid On
Assembly, Class
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.