ComInterfaceType ComInterfaceType ComInterfaceType ComInterfaceType Enum

Definizione

Identifica come esporre un'interfaccia a COM.Identifies how to expose an interface to COM.

public enum class ComInterfaceType
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ComInterfaceType
type ComInterfaceType = 
Public Enum ComInterfaceType
Ereditarietà
ComInterfaceTypeComInterfaceTypeComInterfaceTypeComInterfaceType
Attributi

Campi

InterfaceIsDual InterfaceIsDual InterfaceIsDual InterfaceIsDual 0

Indica che l'interfaccia viene esposta a COM come interfaccia duale, consentendo così l'associazione anticipata e tardiva.Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. InterfaceIsDual è il valore predefinito.InterfaceIsDual is the default value.

InterfaceIsIDispatch InterfaceIsIDispatch InterfaceIsIDispatch InterfaceIsIDispatch 2

Indica che un'interfaccia viene esposta a COM come interfaccia dispatch, consentendo così solo l'associazione tardiva.Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only.

InterfaceIsIInspectable InterfaceIsIInspectable InterfaceIsIInspectable InterfaceIsIInspectable 3

Indica che un'interfaccia viene esposta a COM come interfaccia Windows RuntimeWindows Runtime.Indicates that an interface is exposed to COM as a Windows RuntimeWindows Runtime interface.

InterfaceIsIUnknown InterfaceIsIUnknown InterfaceIsIUnknown InterfaceIsIUnknown 1

Indica che un'interfaccia viene esposta a COM come interfaccia derivante da IUnknown, consentendo così solo l'associazione anticipata.Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding.

Commenti

Questa enumerazione funziona insieme InterfaceTypeAttribute all'attributo.This enumeration works in conjunction with the InterfaceTypeAttribute attribute.

Si applica a