ImporterEventKind 列舉

定義

描述型別程式庫匯入工具在匯入型別程式庫時進行的回呼 (Callback)。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.

適用於