C # in a Nutshell, Second Edition

CoClassAttribute

System.Runtime.InteropServices (mscorlib.dll) sealed class

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

Категории