หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'interface' : nesting class, struct, union or interface in an interface is illegal; nesting interface in a class, struct or union is illegal
Remarks
An __interface can only appear at global scope or within a namespace. A class, struct, or union cannot appear in an interface.
Example
The following example generates C3161.
// C3161.cpp
// compile with: /c
__interface X {
__interface Y {}; // C3161 A nested interface
};