إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
'class' : a member-function of a managed type cannot be compiled as an unmanaged function
Remarks
Managed class member functions cannot be compiled as unmanaged functions.
Example
The following example generates C3280:
// C3280_2.cpp
// compile with: /clr
ref struct A {
void func();
};
#pragma managed(push,off)
void A::func() // C3280
{
}
#pragma managed(pop)