Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
'function' : cannot be used as a named override: a function being overridden not found; did you forget to name the function explicitly, using a :: operator?
Remarks
An explicit override specified a function that was not found in any interface. For more information, see Explicit Overrides.
Example
The following example generates C3653:
// C3653.cpp
// compile with: /clr
public interface struct I {
void h();
};
public ref struct X : public I {
virtual void f() new sealed = J {}; // C3653 no J in scope
virtual void g() {} // OK
virtual void h() new sealed = I::h {}; // OK
};