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 CoClassAttribute(Type coClass);
// Public Instance Properties
   public Type CoClass{get; }
}

Hierarchy

System.Object System.Attribute CoClassAttribute

Valid On

Interface

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.