ImporterEventKind 枚举

定义

描述类型库导入程序在导入类型库时生成的回调。Describes the callbacks that the type library importer makes when importing a type library.

public enum class ImporterEventKind
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ImporterEventKind
type ImporterEventKind = 
Public Enum ImporterEventKind
继承
ImporterEventKind
属性

字段

ERROR_REFTOINVALIDTYPELIB 2

此版本的 .NET Framework 不支持此属性。This property is not supported in this version of the .NET Framework.

NOTIF_CONVERTWARNING 1

指定在转换期间发生警告时调用此事件。Specifies that the event is invoked when a warning occurs during conversion.

NOTIF_TYPECONVERTED 0

指定当类型已导入时调用该事件。Specifies that the event is invoked when a type has been imported.

注解

类型库导入程序将此枚举的值传递到ReportEvent ITypeLibExporterNotifySink实现接口的对象的方法。The type library importer passes the values of this enumeration to the ReportEvent method of an object which implements the ITypeLibExporterNotifySink interface. 传递的值标识所报告的特定类型的事件。The value passed identifies the specific kind of event being reported.

适用于