ImporterEventKind ImporterEventKind ImporterEventKind ImporterEventKind Enum

定义

描述类型库导入程序在导入类型库时生成的回调。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
继承
ImporterEventKindImporterEventKindImporterEventKindImporterEventKind
属性

字段

ERROR_REFTOINVALIDTYPELIB ERROR_REFTOINVALIDTYPELIB ERROR_REFTOINVALIDTYPELIB ERROR_REFTOINVALIDTYPELIB 2

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

NOTIF_CONVERTWARNING NOTIF_CONVERTWARNING NOTIF_CONVERTWARNING NOTIF_CONVERTWARNING 1

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

NOTIF_TYPECONVERTED NOTIF_TYPECONVERTED NOTIF_TYPECONVERTED 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.

适用于