NativeCppClassAttribute 建構函式

定義

初始化 NativeCppClassAttribute 類別的新執行個體。

public:
 NativeCppClassAttribute();
public NativeCppClassAttribute ();
Public Sub New ()

備註

編譯程式會在建置元件時使用 NativeCppClassAttribute 屬性,指出類型是 C 或 C++ 中定義的 Unmanaged 類型。 這個屬性稍後會在 Interop 期間匯入時正確處理 Unmanaged 類型。

適用於