OrderByCollection.Add(PropertyDefinitionBase, SortDirection) Method

Definition

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

public:
 void Add(Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition, Microsoft::Exchange::WebServices::Data::SortDirection sortDirection);
public void Add (Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition, Microsoft.Exchange.WebServices.Data.SortDirection sortDirection);

Parameters

propertyDefinition
PropertyDefinitionBase

The property definition.

sortDirection
SortDirection

A sort order of either ascending or descending.

Applies to