नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
cannot define a union 'union' inside of managed type 'type'
Remarks
A union cannot be defined inside a managed type.
Example
The following example generates C3126:
// C3126_2.cpp
// compile with: /clr /c
ref class Test
{
union x
{ // C3126
int a;
int b;
};
};