MapiProperty

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

SignatureDescription
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

NameTypeAccessDescription
PropertyIdushortRead16-bit MAPI property identifier (the high 16 bits of the property tag).
PropertyTypeushortRead16-bit MAPI property type code (the low 16 bits of the property tag).
Valueobject?ReadGiá trị tài sản bị mã hóa; loại phụ thuộc vào PropertyType (Trang, int, byte[], DateTime vv).
FlagsuintReadTà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.
PropertyTaguintReadMAPI 32-bit kết hợp thẻ thuộc tính: cao 16 bit = PropertyId, thấp 16 bits =PropertyType.

See Also

 Tiếng Việt