หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
cannot define unnamed class, struct or union inside of managed or WinRT type 'type'
Remarks
A type that is embedded in a managed or WinRT type must be named.
Example
The following example generates C3183:
// C3183a.cpp
// compile with: /clr /c
ref class Test
{
ref class
{ // C3183, delete class or name it
int a;
int b;
};
};