ComInterfaceOptions 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.
Options for how to generate COM interface interop with the COM interop source generator.
This enumeration supports a bitwise combination of its member values.
public enum class ComInterfaceOptions
[System.Flags]
public enum ComInterfaceOptions
[<System.Flags>]
type ComInterfaceOptions =
Public Enum ComInterfaceOptions
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | No options specified. |
ManagedObjectWrapper | 1 | Generate a wrapper for managed objects to enable exposing them through the COM interface. |
ComObjectWrapper | 2 | Generate a wrapper for COM objects to enable exposing them through the managed interface. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.