Overview
MapiProperty 代表一个MAPI属性条目:16位属性的ID,16比特属型代码,值和可选标记的组合. PropertyTag 将属性ID和输入组合成32位MAPI标签.使用 MapiPropertyCollection.Get 根据身份证和类型来查找财产,或 MapiMessage.SetProperty 设置一个.
Constructors
| Signature | Description |
|---|
MapiProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint) | 创建一个新的 MapiProperty 按照规定的参数. |
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 | 解码属性值;类型取决于: PropertyType (字符串,int,byte[],DateTime等) 进行. |
Flags | uint | Read | 属性标志 bitmask;控制多值,只读取和其他行为属性的. |
PropertyTag | uint | Read | 组合32位MAPI属性标签:最高16位 = PropertyId,低16个 =PropertyType. |
See Also