![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![DropDown image](drpdown.gif)
![DropDownHover image](drpdown_orange.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Syntax
C# |
---|
[SerializableAttribute] public class OrderedBag<T> |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class OrderedBag(Of T) |
Visual C++ |
---|
[SerializableAttribute] generic<typename T> public ref class OrderedBag |
Type Parameters
- T
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
![]() | Comparer |
Returns the IComparer<T> used to compare items in this bag.
|
![]() | Count |
Returns the number of items in the bag.
(Overrides CollectionBase<(Of <T>)>..::Count.) |
![]() | Item |
Get the item by its index in the sorted order. The smallest item has index 0,
the next smallest item has index 1, and the largest item has index Count-1.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ICollection<(Of <T>)>..::IsReadOnly | (Inherited from CollectionBase<(Of <T>)>.) |
![]() ![]() | ICollection..::IsSynchronized |
Indicates whether the collection is synchronized.
(Inherited from CollectionBase<(Of <T>)>.) |
![]() ![]() | ICollection..::SyncRoot |
Indicates the synchronization object for this collection.
(Inherited from CollectionBase<(Of <T>)>.) |