MapiPropertyCollection

MapiPropertyCollection

Overview

MapiPropertyCollection 是一个密钥的集合. MapiProperty 按属性ID和类型代码索引的对象. 使用 Set 增加或更换财产, Add 建造和插入新的, Get 检索现有条目, Remove 删除它,以及 IterProperties 列出所有存储的属性.通过 MapiMessage.Properties, MapiAttachment.Properties, 和 MapiRecipient.Properties.

Methods

SignatureDescription
Set(property: MapiProperty)Adds property 取代任何现有条目,使用相同的属性标签.
Add(propertyId: ushort, propertyType: ushort, value: object?, flags: uint)建立一个新的 MapiProperty 加入到收藏中.
Get(propertyId: ushort, propertyType: ushort?)返回一个值. MapiProperty 匹配 propertyId 任择性 propertyType,或是: null 如果没有找到.
Remove(propertyId: ushort, propertyType: ushort?)删除了以下标识的属性: propertyId 任择性 propertyType 收藏的.
IterProperties()列出所有信息 MapiProperty 收藏中的条目.

See Also

 中文