नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'type_parameter' : the value constraint and the ref constraint are mutually exclusive
Remarks
You cannot constrain a generic type to both value class and ref class.
See Constraints on Generic Type Parameters (C++/CLI) for more information.
Example
The following example generates C3384.
// C3384.cpp
// compile with: /c /clr
generic <typename T>
where T : ref class
where T : value class // C3384
ref class List {};