नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'class': a sealed abstract class cannot have a base-class 'base_class'
Remarks
An abstract and sealed class cannot inherit from a reference type; a sealed and abstract class can neither implement the base class functions nor allow itself to be used as a base class.
For more information, see abstract, sealed, and Classes and Structs.
This warning is automatically promoted to an error. If you wish to modify this behavior, use #pragma warning.
Example
The following example generates C4694.
// C4694.cpp
// compile with: /c /clr
ref struct A {};
ref struct B sealed abstract : A {}; // C4694