---
Product: Aspose.Email
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/email/net/property-type-code
---

# PropertyTypeCode

## Overview

`PropertyTypeCode` is an enumeration of MAPI property type codes (the low 16 bits of a MAPI property tag). Each value identifies the data type of a property's stored value: integer, floating-point, boolean, string, binary, time, GUID, or a multi-value variant of those types. Use these constants with `MapiProperty.PropertyType` and `MapiPropertyCollection` to decode or construct MAPI property streams in `.msg` files.

Base type: `ushort`.

## Members

| Name | Description |
|------|-------------|
| `PtypInteger16`| 16-bit signed integer property (`PT_I2`, type code `0x0002`). |
| `PtypInteger32`| 32-bit signed integer property (`PT_LONG`, type code `0x0003`). |
| `PtypFloating32`| 32-bit IEEE 754 floating-point value (`PT_R4`, type code `0x0004`). |
| `PtypFloating64`| 64-bit IEEE 754 double-precision value (`PT_DOUBLE`, type code `0x0005`). |
| `PtypCurrency`| 64-bit signed integer scaled by 10,000 representing a currency amount (`PT_CURRENCY`, type code `0x0006`). |
| `PtypFloatingTime`| OLE floating-point date-time value as a `double` (`PT_APPTIME`, type code `0x0007`). |
| `PtypErrorCode`| 32-bit HRESULT error code (`PT_ERROR`, type code `0x000A`). |
| `PtypBoolean`| 16-bit Boolean: 0 = false, non-zero = true (`PT_BOOLEAN`, type code `0x000B`). |
| `PtypObject`| Embedded IStream or IStorage object (`PT_OBJECT`, type code `0x000D`). |
| `PtypInteger64`| 64-bit signed integer (`PT_I8`, type code `0x0014`). |
| `PtypString8`| Null-terminated 8-bit ANSI/MBCS string (`PT_STRING8`, type code `0x001E`). |
| `PtypString`| Null-terminated UTF-16LE Unicode string (`PT_UNICODE`, type code `0x001F`). |
| `PtypTime`| 64-bit FILETIME UTC date-time value (`PT_SYSTIME`, type code `0x0040`). |
| `PtypGuid`| 128-bit GUID / UUID value (`PT_CLSID`, type code `0x0048`). |
| `PtypBinary`| Variable-length byte array with a 32-bit length prefix (`PT_BINARY`, type code `0x0102`). |
| `PtypMultipleInteger16`| Multi-value array of 16-bit integers (`PT_MV_I2`, type code `0x1002`). |
| `PtypMultipleInteger32`| Multi-value array of 32-bit integers (`PT_MV_LONG`, type code `0x1003`). |
| `PtypMultipleFloating32`| Multi-value array of 32-bit floats (`PT_MV_R4`, type code `0x1004`). |
| `PtypMultipleFloating64`| Multi-value array of 64-bit doubles (`PT_MV_DOUBLE`, type code `0x1005`). |
| `PtypMultipleCurrency`| Multi-value array of currency values (`PT_MV_CURRENCY`, type code `0x1006`). |
| `PtypMultipleFloatingTime`| Multi-value array of OLE date-time values (`PT_MV_APPTIME`, type code `0x1007`). |
| `PtypMultipleInteger64`| Multi-value array of 64-bit integers (`PT_MV_I8`, type code `0x1014`). |
| `PtypMultipleString8`| Multi-value array of ANSI strings (`PT_MV_STRING8`, type code `0x101E`). |
| `PtypMultipleString`| Multi-value array of Unicode strings (`PT_MV_UNICODE`, type code `0x101F`). |
| `PtypMultipleTime`| Multi-value array of FILETIME values (`PT_MV_SYSTIME`, type code `0x1040`). |
| `PtypMultipleGuid`| Multi-value array of GUIDs (`PT_MV_CLSID`, type code `0x1048`). |
| `PtypMultipleBinary`| Multi-value array of binary blobs (`PT_MV_BINARY`, type code `0x1102`). |

## See Also
- [Aspose.Email for .NET — Enterprise API Reference](https://reference.aspose.com/email/net/)