GeneratedComInterfaceAttribute.Options 属性

定义

有关如何使用 COM 互操作源生成器生成 COM 接口互操作的选项。

public:
 property System::Runtime::InteropServices::Marshalling::ComInterfaceOptions Options { System::Runtime::InteropServices::Marshalling::ComInterfaceOptions get(); void set(System::Runtime::InteropServices::Marshalling::ComInterfaceOptions value); };
public System.Runtime.InteropServices.Marshalling.ComInterfaceOptions Options { get; set; }
member this.Options : System.Runtime.InteropServices.Marshalling.ComInterfaceOptions with get, set
Public Property Options As ComInterfaceOptions

属性值

注解

默认选项将生成托管对象包装和 COM 对象包装器。

适用于