Contains run-time information about a type—specifically, a string name and a typecode. Obtained by calling Object::GetType Method on any object or or using the typeid operator on a class or struct name.
The Type class is useful in applications that must direct processing by using an if or switch statement that branches based on the run-time type of an object. The type code that describes the category of a type is retrieved by using the Type::GetTypeCode Method member function..
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012