Edit

Share via


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
OrderByCollection
Implements

Properties

Count

Gets the number of items in the collection.

Item[Int32]

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

Methods

Add(PropertyDefinitionBase, SortDirection)

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

Clear()

Removes all elements from the collection.

GetEnumerator()

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

Remove(PropertyDefinitionBase)

Removes the specified property definition from the collection.

RemoveAt(Int32)

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

TryGetValue(PropertyDefinitionBase, SortDirection)

Returns the specified property definition from the collection.

Explicit Interface Implementations

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