Export (0) Print
Expand All

OrderByCollection.Add method

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

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public void Add(
	PropertyDefinitionBase propertyDefinition,
	SortDirection sortDirection
)

Parameters

propertyDefinition
Type: Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase

The property definition.

sortDirection
Type: Microsoft.Exchange.WebServices.Data.SortDirection

A sort order of either ascending or descending.

Show:
© 2014 Microsoft