Class OrderByList
- Namespace
- SWConfigDataClientLib.Data
- Assembly
- IpPbxCDSClientLib.dll
A list of OrderBy objects. Every Enum class creates such a list to publish the sorting possiblities of its items. Filter methods of the Enum classes can require a OrderByList to set the sorting.
[DefaultMember("Item")]
public class OrderByList : CollectionBase
- Inheritance
-
OrderByList
Constructors
OrderByList()
Standard contructor
public OrderByList()
Properties
this[int]
strongly typed accessor
public OrderBy this[int index] { get; set; }
Parameters
index
int
Property Value
- OrderBy
OrderBy at index
this[string]
public OrderBy this[string colname] { get; set; }
Parameters
colname
string
Property Value
Methods
Add(OrderBy)
Add a OrderBy object to the collection
public void Add(OrderBy orderBy)
Parameters
orderBy
OrderByto be added
NewListWithColumn(string)
Creates a new OrderByList object with the given OrderBy entry.
public OrderByList NewListWithColumn(string colname)
Parameters
colname
string
Returns
- OrderByList
A new OrderByList
Remove(OrderBy)
Removes a OrderBy object from the collection
public void Remove(OrderBy orderBy)
Parameters
orderBy
OrderByto be removed