หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
a generic class may not derive from a generic type parameter
Remarks
A generic class cannot inherit from a generic type parameter.
Example
The following example generates C3234.
// C3234.cpp
// compile with: /clr /c
generic <class T>
public ref class C : T {}; // C3234
// try the following line instead
// public ref class C {};