הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'method' should be declared 'static' and have exactly one parameter
Remarks
The signature of a conversion operator was not correct. The method is not considered a user-defined conversion. For more information on defining operators, see User-Defined Operators (C++/CLI) and User-Defined Conversions (C++/CLI).
Example
The following example generates C4674.
// C4674.cpp
// compile with: /clr /WX /W1 /LD
ref class G {
int op_Implicit(int i) { // C4674
return 0;
}
};