OrderByCollection.TryGetValue(PropertyDefinitionBase, SortDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.