OrderByCollection.TryGetValue(PropertyDefinitionBase, SortDirection) Method

Definition

Returns the specified property definition from the collection.

public:
 bool TryGetValue(Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition, [Runtime::InteropServices::Out] Microsoft::Exchange::WebServices::Data::SortDirection % sortDirection);
public bool TryGetValue (Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition, out Microsoft.Exchange.WebServices.Data.SortDirection sortDirection);
Public Function TryGetValue (propertyDefinition As PropertyDefinitionBase, ByRef sortDirection As SortDirection) As Boolean

Parameters

propertyDefinition
PropertyDefinitionBase

The property definition to get.

sortDirection
SortDirection

The sort direction for the property. If the property definition is not found, this parameter is a null reference (Nothing in Visual Basic). This property is passed uninitialized.

Returns

true if the property definition sort order is returned; otherwise, false.

Applies to