नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'member' : cannot be used as an explicit override, must be a member of a base class
Remarks
An explicit override was specified, but the function being overridden was in a type that is not a base type.
For more information, see Explicit Overrides.
Example
The following example generates C3651:
// C3651.cpp
// compile with: /clr /c
ref class C {
public:
virtual void func2();
};
ref class Other {
public:
virtual void func();
};
ref class D : public C {
public:
virtual void func() new sealed = Other::func; // C3651
virtual void func2() new sealed = C::func2; // OK
};