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
}
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir