OrderByCollection.TryGetValue(PropertyDefinitionBase, SortDirection) 方法

定义

从集合中返回指定的属性定义。

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

参数

propertyDefinition
PropertyDefinitionBase

要获取的属性定义。

sortDirection
SortDirection

属性的排序方向。 如果未找到属性定义,则此参数为 null 引用, (Visual Basic) 中无任何内容。 此属性未初始化传递。

返回

如果返回属性定义排序顺序,则为 true;否则为 false

适用于