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ú.
'typeid<type abstract declarator>': this syntax is no longer supported, use ::typeid instead
Remarks
An obsolete form of typeid was used, use the new form.
This error is obsolete in Visual Studio 2022 and later versions.
Example
The following example generates C3189:
// C3189.cpp
// compile with: /clr
int main() {
System::Type^ t = typeid<System::Object>; // C3189
System::Type^ t2 = System::Object::typeid; // OK
}