共用方式為


GeneratedComInterfaceAttribute.Options 屬性

定義

如何與 COM Interop 來源產生器產生 COM 介面 Interop 的選項。

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

屬性值

備註

默認選項會產生 Managed 物件包裝函式和 COM 物件包裝函式。

適用於