MapiProperty

Overview

MapiProperty 代表一个MAPI属性条目:16位属性的ID,16比特属型代码,值和可选标记的组合. PropertyTag 将属性ID和输入组合成32位MAPI标签.使用 MapiPropertyCollection.Get 根据身份证和类型来查找财产,或 MapiMessage.SetProperty 设置一个.

Constructors

SignatureDescription
MapiProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint)创建一个新的 MapiProperty 按照规定的参数.

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?Read解码属性值;类型取决于: PropertyType (字符串,int,byte[],DateTime等) 进行.
FlagsuintRead属性标志 bitmask;控制多值,只读取和其他行为属性的.
PropertyTaguintRead组合32位MAPI属性标签:最高16位 = PropertyId,低16个 =PropertyType.

See Also

 中文