नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'operator': not allowed for enumeration type
Remarks
An operator is not supported for CLR enumerations. For more information, see How to: Define and consume enums in C++/CLI.
Example
The following example generates C3069:
// C3069.cpp
// compile with: /clr
enum struct E { e1 };
enum F { f1 };
int main() {
E e = E::e1;
bool tf;
tf = !e; // C3069
// supported for native enums
F f = f1;
tf = !f;
}