Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C3753

a generic property is not allowed

Generic parameter lists can only appear on managed classes, structs, or functions.

For more information, see Generics (Visual C++) and property.

The following sample generates C3753.

// C3753.cpp
// compile with: /clr /c
ref struct A {
   generic <typename T>
   property int i;   // C3753 error
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.