ComInterfaceType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies how to expose an interface to COM.
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
- Inheritance
- Attributes
Fields
InterfaceIsDual | 0 | Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. InterfaceIsDual is the default value. |
InterfaceIsIDispatch | 2 | Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only. |
InterfaceIsIInspectable | 3 | Indicates that an interface is exposed to COM as a Windows Runtime interface. |
InterfaceIsIUnknown | 1 | Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding. |
Remarks
This enumeration works in conjunction with the InterfaceTypeAttribute attribute.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για