TryGetValue method
Collapse the table of content
Expand the table of content

OrderByCollection.TryGetValue method

Returns the specified property definition from the collection.

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

public bool TryGetValue(
	PropertyDefinitionBase propertyDefinition,
	out SortDirection sortDirection
)

Parameters

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

The property definition to get.

sortDirection
Type: Microsoft.Exchange.WebServices.Data.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.

Return value

Type: System.Boolean
true if the property definition sort order is returned; otherwise, false.
Show:
© 2016 Microsoft