Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
'class' : a ref class can only have one non-interface base class
Remarks
A reference class can only have one base class.
Example
The following example generates C2890:
// C2890.cpp
// compile with: /clr /c
ref class A {};
ref class B {};
ref class C : public A, public B {}; // C2890
ref class D : public A {}; // OK