C # in a Nutshell, Second Edition

InterfaceTypeAttribute

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

This attribute is used to create a .NET interface that maps a COM interface into your managed application. See ComInterfaceType for the available values.

public sealed class InterfaceTypeAttribute : Attribute { // Public Constructors public InterfaceTypeAttribute (ComInterfaceType interfaceType ); public InterfaceTypeAttribute (short interfaceType ); // Public Instance Properties public ComInterfaceType Value {get; } }

Hierarchy

System.Object System.Attribute InterfaceTypeAttribute

Valid On

Interface

Категории