Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'property' : you cannot apply 'typeid' to a property
Remarks
You cannot apply typeid to a property.
Example
The following example generates C3223.
// C3223.cpp
// compile with: /clr
ref class R {
public:
property int myprop;
};
int main() {
System::Type^ type2 = R::myprop::typeid; // C3223
}