_Results.Sort(String, Object) 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.
Sorts the collection of items by the specified property. The index for the collection is reset to 1 upon completion of this method.
public void Sort (string Property, object Descending);
Public Sub Sort (Property As String, Optional Descending As Object)
Parameters
- Property
- String
The name of the property by which to sort, which may be enclosed in brackets (for example, "[CompanyName]"). May not be a user-defined field, and may not be a multi-valued property, such as a category.
- Descending
- Object
True to sort in descending order. The default value is False (ascending).
Remarks
Sort only affects the order of items in a collection. It does not affect the order of items in an explorer view.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기