OrderByCollection OrderByCollection OrderByCollection Class

Definition

Represents an ordered collection of property definitions that are qualified with a sort direction.

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))
Inheritance
OrderByCollectionOrderByCollectionOrderByCollection
Implements

Properties

Count Count Count

Gets the number of items in the collection.

Item[Int32] Item[Int32] Item[Int32]

Gets the property definition at the specified index in the collection.

Methods

Add(PropertyDefinitionBase, SortDirection) Add(PropertyDefinitionBase, SortDirection) Add(PropertyDefinitionBase, SortDirection)

Adds the specified property definition/sort direction pair to the collection.

Clear() Clear() Clear()

Removes all elements from the collection.

GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumerator that can be used to iterate through the collection.

Remove(PropertyDefinitionBase) Remove(PropertyDefinitionBase) Remove(PropertyDefinitionBase)

Removes the specified property definition from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the property definition at the specified index from the collection.

TryGetValue(PropertyDefinitionBase, SortDirection) TryGetValue(PropertyDefinitionBase, SortDirection) TryGetValue(PropertyDefinitionBase, SortDirection)

Returns the specified property definition from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to