Overview
MapiProperty đại diện cho một MAPI bản quyền nhập: sự kết hợp của một 16 bit ID thuộc tính, mã loại thuộc sở hữu 16-bit, giá trị và lá cờ tùy chọn. PropertyTag kết hợp ID tài sản và nhập vào thẻ MAPI 32 bit. MapiPropertyCollection.Get để lấy lại tài sản theo ID và loại, hoặc MapiMessage.SetProperty để đặt một.
Constructors
| Signature | Description |
|---|
MapiProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint) | tạo ra một mới MapiProperty với các thông số cụ thể. |
Properties
| Name | Type | Access | Description |
|---|
PropertyId | ushort | Read | 16-bit MAPI property identifier (the high 16 bits of the property tag). |
PropertyType | ushort | Read | 16-bit MAPI property type code (the low 16 bits of the property tag). |
Value | object? | Read | Giá trị tài sản bị mã hóa; loại phụ thuộc vào PropertyType (Trang, int, byte[], DateTime vv). |
Flags | uint | Read | Tài sản làm dấu chấm bitmask; kiểm soát nhiều giá trị, đọc đơn và các thuộc tính hành vi khác. |
PropertyTag | uint | Read | MAPI 32-bit kết hợp thẻ thuộc tính: cao 16 bit = PropertyId, thấp 16 bits =PropertyType. |
See Also