OrderByCollection.TryGetValue(PropertyDefinitionBase, SortDirection) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中返回指定的属性定义。
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。