OrderByCollection 类

定义

表示按排序方向限定的属性定义的有序集合。

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

属性

Count

获取集合中项的数目。

Item[Int32]

获取集合中指定索引处的属性定义。

方法

Add(PropertyDefinitionBase, SortDirection)

将指定的属性定义/排序方向对添加到集合。

Clear()

从集合中删除所有元素。

GetEnumerator()

获取可用于循环访问集合的枚举器。

Remove(PropertyDefinitionBase)

从集合中删除指定的属性定义。

RemoveAt(Int32)

从集合中移除指定索引处的属性定义。

TryGetValue(PropertyDefinitionBase, SortDirection)

从集合中返回指定的属性定义。

显式接口实现

IEnumerable.GetEnumerator()

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

适用于