नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'instance' : you cannot embed an instance of a reference type, 'type', in a native type
Remarks
A native type cannot contain an instance of a CLR type.
For more information, see C++ Stack Semantics for Reference Types.
Example
The following example generates C3076.
// C3076.cpp
// compile with: /clr /c
ref struct U {};
struct V {
U y; // C3076
};
ref struct W {
U y; // OK
};