Compiler Error C3223
'property' : you cannot apply 'typeid' to a property
You cannot apply typeid to a property.
Example
The following sample generates C3223.
// C3223.cpp
// compile with: /clr
ref class R {
public:
property int myprop;
};
int main() {
System::Type^ type2 = R::myprop::typeid; // C3223
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for