PrimitiveTypeCode Énumération
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie les constantes qui définissent les types primitifs trouvés dans les signatures de métadonnées.
public enum class PrimitiveTypeCode
public enum PrimitiveTypeCode
type PrimitiveTypeCode =
Public Enum PrimitiveTypeCode
- Héritage
Champs
| Nom | Valeur | Description |
|---|---|---|
| Void | 1 | Type Void. |
| Boolean | 2 | Type Boolean. |
| Char | 3 | Type Char. |
| SByte | 4 | Type SByte . |
| Byte | 5 | Type Byte. |
| Int16 | 6 | Type Int16 . |
| UInt16 | 7 | Type UInt16. |
| Int32 | 8 | Type Int32 . |
| UInt32 | 9 | Type UInt32. |
| Int64 | 10 | Type Int64 . |
| UInt64 | 11 | Type UInt64. |
| Single | 12 | Type Single. |
| Double | 13 | Type Double. |
| String | 14 | Type String. |
| TypedReference | 22 | Référence typée. |
| IntPtr | 24 | Type IntPtr . |
| UIntPtr | 25 | Type UIntPtr. |
| Object | 28 | Type Object . |