C # in a Nutshell, Second Edition

ClassInterfaceAttribute

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

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 (ClassInterfaceType classInterfaceType ); public ClassInterfaceAttribute (short classInterfaceType ); // Public Instance Properties public ClassInterfaceType Value {get; } }

Hierarchy

System.Object System.Attribute ClassInterfaceAttribute

Valid On

Assembly, Class

Категории