ComInterfaceType Enumeration

Definition

Gibt an, wie eine Schnittstelle für COM verfügbar gemacht wird.

public enum class ComInterfaceType
public enum ComInterfaceType
[System.Serializable]
public enum ComInterfaceType
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum ComInterfaceType
type ComInterfaceType = 
[<System.Serializable>]
type ComInterfaceType = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ComInterfaceType = 
Public Enum ComInterfaceType
Vererbung
ComInterfaceType
Attribute

Felder

InterfaceIsDual 0

Gibt an, dass eine Schnittstelle für COM als duale Schnittstelle verfügbar gemacht wird, wodurch sowohl frühe als auch späte Bindung ermöglicht wird. Der Standardwert lautet InterfaceIsDual.

InterfaceIsIDispatch 2

Gibt an, dass eine Schnittstelle für COM als dispinterface verfügbar gemacht wird, wodurch nur späte Bindung ermöglicht wird.

InterfaceIsIInspectable 3

Gibt an, dass eine Schnittstelle für COM als Windows-Runtime-Schnittstelle verfügbar gemacht wird.

InterfaceIsIUnknown 1

Gibt an, dass eine Schnittstelle für COM als Schnittstelle verfügbar gemacht wird, die von IUnknownabgeleitet ist, wodurch nur frühe Bindung ermöglicht wird.

Hinweise

Diese Enumeration funktioniert in Verbindung mit dem InterfaceTypeAttribute -Attribut.

Gilt für: