Compiler Error C3223
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Error C3223

Error Message

'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
}
Show:
© 2016 Microsoft