| title |
Platform::Type Class | Microsoft Docs |
| ms.custom |
|
| ms.date |
12/30/2016 |
| ms.prod |
windows-client-threshold |
| ms.technology |
|
| ms.reviewer |
|
| ms.suite |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
d6b03f1e-b240-49b9-a08e-53a460030475 |
| caps.latest.revision |
7 |
| author |
ghogen |
| ms.author |
ghogen |
| manager |
ghogen |
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.
public ref class Platform::Type : Platform::Object, Platform::Details::IEquatable, Platform::Details::IPrintable
Remarks
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: [!INCLUDEwin8]
Minimum supported server: [!INCLUDEwinserver8]
Namespace: Platform
Metadata: platform.winmd
Platform namespace