C# Class Hd.QueryExtensions.OrderByTermCollection

Inheritance: System.Collections.CollectionBase
Show file Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Public Methods

Method Description
Add ( OrderByTerm value ) : void

Adds an instance of type OrderByTerm to the end of this OrderByTermCollection.

AddRange ( OrderByTerm items ) : void

Adds the elements of an array to the end of this OrderByTermCollection.

AddRange ( OrderByTermCollection items ) : void

Adds the elements of another OrderByTermCollection to the end of this OrderByTermCollection.

Contains ( OrderByTerm value ) : bool

Determines whether a specfic OrderByTerm value is in this OrderByTermCollection.

GetEnumerator ( ) : OrderByTermCollection.Enumerator

Returns an enumerator that can iterate through the elements of this OrderByTermCollection.

IndexOf ( OrderByTerm value ) : int

Return the zero-based index of the first occurrence of a specific value in this OrderByTermCollection

Insert ( int index, OrderByTerm value ) : void

Inserts an element into the OrderByTermCollection at the specified index

OrderByTermCollection ( ) : System

Initializes a new empty instance of the OrderByTermCollection class.

OrderByTermCollection ( OrderByTerm items ) : System

Initializes a new instance of the OrderByTermCollection class, containing elements copied from an array.

OrderByTermCollection ( OrderByTermCollection items ) : System

Initializes a new instance of the OrderByTermCollection class, containing elements copied from another instance of OrderByTermCollection

Remove ( OrderByTerm value ) : void

Removes the first occurrence of a specific OrderByTerm from this OrderByTermCollection.

this ( int index ) : OrderByTerm

Gets or sets the OrderByTerm at the given index in this OrderByTermCollection.

Method Details

Add() public method

Adds an instance of type OrderByTerm to the end of this OrderByTermCollection.
public Add ( OrderByTerm value ) : void
value OrderByTerm /// The OrderByTerm to be added to the end of this OrderByTermCollection. ///
return void

AddRange() public method

Adds the elements of an array to the end of this OrderByTermCollection.
public AddRange ( OrderByTerm items ) : void
items OrderByTerm /// The array whose elements are to be added to the end of this OrderByTermCollection. ///
return void

AddRange() public method

Adds the elements of another OrderByTermCollection to the end of this OrderByTermCollection.
public AddRange ( OrderByTermCollection items ) : void
items OrderByTermCollection /// The OrderByTermCollection whose elements are to be added to the end of this OrderByTermCollection. ///
return void

Contains() public method

Determines whether a specfic OrderByTerm value is in this OrderByTermCollection.
public Contains ( OrderByTerm value ) : bool
value OrderByTerm /// The OrderByTerm value to locate in this OrderByTermCollection. ///
return bool

GetEnumerator() public method

Returns an enumerator that can iterate through the elements of this OrderByTermCollection.
public GetEnumerator ( ) : OrderByTermCollection.Enumerator
return OrderByTermCollection.Enumerator

IndexOf() public method

Return the zero-based index of the first occurrence of a specific value in this OrderByTermCollection
public IndexOf ( OrderByTerm value ) : int
value OrderByTerm /// The OrderByTerm value to locate in the OrderByTermCollection. ///
return int

Insert() public method

Inserts an element into the OrderByTermCollection at the specified index
public Insert ( int index, OrderByTerm value ) : void
index int /// The index at which the OrderByTerm is to be inserted. ///
value OrderByTerm /// The OrderByTerm to insert. ///
return void

OrderByTermCollection() public method

Initializes a new empty instance of the OrderByTermCollection class.
public OrderByTermCollection ( ) : System
return System

OrderByTermCollection() public method

Initializes a new instance of the OrderByTermCollection class, containing elements copied from an array.
public OrderByTermCollection ( OrderByTerm items ) : System
items OrderByTerm /// The array whose elements are to be added to the new OrderByTermCollection. ///
return System

OrderByTermCollection() public method

Initializes a new instance of the OrderByTermCollection class, containing elements copied from another instance of OrderByTermCollection
public OrderByTermCollection ( OrderByTermCollection items ) : System
items OrderByTermCollection /// The OrderByTermCollection whose elements are to be added to the new OrderByTermCollection. ///
return System

Remove() public method

Removes the first occurrence of a specific OrderByTerm from this OrderByTermCollection.
public Remove ( OrderByTerm value ) : void
value OrderByTerm /// The OrderByTerm value to remove from this OrderByTermCollection. ///
return void

this() public method

Gets or sets the OrderByTerm at the given index in this OrderByTermCollection.
public this ( int index ) : OrderByTerm
index int
return OrderByTerm