नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
a generic declaration is not allowed in this context
Remarks
A generic was declared incorrectly. For more information, see Generics.
Example
The following example generates C2674.
// C2674.cpp
// compile with: /clr /c
void F(generic <class T> ref class R1); // C2674
generic <class T> ref class R2 {}; // OK