PropertySet 类

定义

表示一组项或文件夹属性。

public ref class PropertySet sealed : System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^>
public sealed class PropertySet : System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase>
Public NotInheritable Class PropertySet
Implements IEnumerable(Of PropertyDefinitionBase)
继承
PropertySet
实现

注解

属性集用于指示在绑定到现有项目或文件夹或加载项目或文件夹的属性时应加载项目或文件夹的属性。

构造函数

PropertySet()

基于 ID 初始化 PropertySet 类的新实例。

PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>)

使用指定的基属性集和其他属性的集合初始化 PropertySet 类的新实例。

PropertySet(BasePropertySet, PropertyDefinitionBase[])

使用指定的基属性集和其他属性初始化 PropertySet 类的新实例。

PropertySet(BasePropertySet)

基于指定的基属性集初始化 PropertySet 类的新实例。

PropertySet(IEnumerable<PropertyDefinitionBase>)

根据 ID 和其他属性的指定集合初始化 PropertySet 类的新实例。

PropertySet(PropertyDefinitionBase[])

根据 ID 和指定的附加属性初始化 PropertySet 类的新实例。

字段

FirstClassProperties

一个预定义的属性集,其中包括项或文件夹的一流属性。

IdOnly

一个仅包含 ID 属性的预定义属性集。

属性

AddBlankTargetToLinks

获取或设置值,该值指示是否向定位链接添加空白目标属性。 属性AddBlankTargetToLinks适用于面向 Exchange Online 和从 2013 Exchange Server 开始的 Exchange 版本的客户端。

BasePropertySet

获取或设置属性集所基于的基属性集。

BlockExternalImages

获取或设置值,该值指示是否将指向图像文件的 URL 转换为内联图像。 属性BlockExternalImages适用于面向 Exchange Online 和从 2013 Exchange Server 开始的 Exchange 版本的客户端。

ConvertHtmlCodePageToUTF8

获取或设置一个值,该值指示服务器是否应将 HTML 代码页转换为 UTF8 编码。

Count

获取此集中显式添加的属性的数目。

FilterHtmlContent

获取或设置值,该值指示是否从邮件正文中筛选可能不安全的 HTML 内容。

InlineImageUrlTemplate

获取或设置用于内联图像的模板的 URL。 属性InlineImageUrlTemplate适用于面向 Exchange Online 和从 2013 Exchange Server 开始的 Exchange 版本的客户端。

Item[Int32]

获取指定索引处的项。 属性Item[Int32]适用于面向 Exchange Online 和从 2013 Exchange Server 开始的 Exchange 版本的客户端。

MaximumBodySize

获取或设置要检索的正文的最大大小。 属性MaximumBodySize适用于面向 Exchange Online 和从 2013 Exchange Server 开始的 Exchange 版本的客户端。

RequestedBodyType

获取或设置应在项上加载的正文类型。

RequestedNormalizedBodyType

获取或设置应为项上的 属性加载的 NormalizedBody 正文类型。

RequestedUniqueBodyType

获取或设置应为项上的 属性加载的 UniqueBody 正文类型。

方法

Add(PropertyDefinitionBase)

将指定的属性添加到属性集。

AddRange(IEnumerable<PropertyDefinitionBase>)

将指定的属性添加到属性集。

Clear()

从属性集中删除所有显式添加的属性。

Contains(PropertyDefinitionBase)

确定是否使用 Add 或 AddRange 方法将指定的属性显式添加到此属性集。

GetEnumerator()

返回循环访问集合的枚举器。

Remove(PropertyDefinitionBase)

从集中删除指定的属性。

运算符

Implicit(BasePropertySet to PropertySet)

实现 PropertySet 类和 BasePropertySet 类之间的隐式转换。

显式接口实现

IEnumerable.GetEnumerator()

返回循环访问集合的枚举器。 方法IEnumerable.GetEnumerator()适用于从 Exchange Server 2013 开始面向 Exchange Online 和 Exchange 版本的客户端。

适用于