ComInterfaceOptions Enum

Definition

Options for how to generate COM interface interop with the COM interop source generator.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum ComInterfaceOptions
Inheritance
ComInterfaceOptions
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

Product Versions
.NET 8, 9