In C++/CLI, use the typeid keyword.
e.g.
Type ^t = Int32::typeid;
In the older “Managed C++ Extensions” syntax, you’d use __typeof(Int32)
, but that whole version of the language is severely deprecated and you should be using C++/CLI.
In C++/CLI, use the typeid keyword.
e.g.
Type ^t = Int32::typeid;
In the older “Managed C++ Extensions” syntax, you’d use __typeof(Int32)
, but that whole version of the language is severely deprecated and you should be using C++/CLI.