Name

CoClassAttribute

Synopsis

This attribute describes the class ID of a coclass that was imported from a type library.

public sealed class CoClassAttribute : Attribute {
// Public Constructors
   public method CoClassAttribute(Type coClass);  
// Public Instance Properties
   public field Type CoClass{get; } 
}

Hierarchy

System.ObjectSystem.AttributeCoClassAttribute

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.