ItemCollection.SortDescriptions Property
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.
Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.
public:
virtual property System::ComponentModel::SortDescriptionCollection ^ SortDescriptions { System::ComponentModel::SortDescriptionCollection ^ get(); };
public override System.ComponentModel.SortDescriptionCollection SortDescriptions { get; }
member this.SortDescriptions : System.ComponentModel.SortDescriptionCollection
Public Overrides ReadOnly Property SortDescriptions As SortDescriptionCollection
Property Value
A collection of SortDescription objects that describe how the items in the collection are sorted in the view.
Remarks
Use the CanSort property to test whether the current implementation supports sorting before adding SortDescription objects to the SortDescriptionCollection.
Note
This property can be set only by accessing the collection object and using its various methods, such as Add
. The property to access the collection object is read-only, while the collection itself is read-write.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應