नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'member' : a native type cannot be nested within a managed or WinRT type 'type'
Remarks
A native type cannot be nested in a CLR or WinRT type.
Example
The following example generates C2814 and shows how to fix it.
// C2814.cpp
// compile with: /clr /c
ref class A {
class B {}; // C2814
ref class C {}; // OK
};