已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'member':WinRT 或 Managed 類別的成員函式中不允許有區域類別、結構或等位定義
下列範例會產生 C3923。
// C3923.cpp // compile with: /clr /c ref struct x { void Test() { struct a {}; // C3923 class b {}; // C3923 union c {}; // C3923 } };
此頁面對您有幫助嗎?