C# Class Hd.QueryExtensions.SqlConstantCollection

Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Méthodes publiques

Méthode Description
Add ( SqlConstant value ) : void

Adds an instance of type SqlConstant to the end of this SqlConstantCollection.

Add ( object val ) : void

Adds a value

This method automatically determins the type of the value and creates the appropriate SqlConstant object.

AddRange ( SqlConstant items ) : void

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

AddRange ( SqlConstantCollection items ) : void

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

Contains ( SqlConstant value ) : bool

Determines whether a specfic SqlConstant value is in this SqlConstantCollection.

FromList ( IList values ) : SqlConstantCollection

Creates a SqlConstantCollection from a list of values.

The type of SqlConstant items in the collection is determined automatically. See Add method for more info.

GetEnumerator ( ) : SqlConstantCollection.Enumerator

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

IndexOf ( SqlConstant value ) : int

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

Insert ( int index, SqlConstant value ) : void

Inserts an element into the SqlConstantCollection at the specified index

Remove ( SqlConstant value ) : void

Removes the first occurrence of a specific SqlConstant from this SqlConstantCollection.

SqlConstantCollection ( ) : System

Initializes a new empty instance of the SqlConstantCollection class.

SqlConstantCollection ( SqlConstant items ) : System

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

SqlConstantCollection ( SqlConstantCollection items ) : System

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

SqlConstantCollection ( int capacity ) : System

Initializes a new empty instance of the SqlConstantCollection class with the specified initial capacity

this ( int index ) : SqlConstant

Gets or sets the SqlConstant at the given index in this SqlConstantCollection.

Method Details

Add() public méthode

Adds an instance of type SqlConstant to the end of this SqlConstantCollection.
public Add ( SqlConstant value ) : void
value SqlConstant /// The SqlConstant to be added to the end of this SqlConstantCollection. ///
Résultat void

Add() public méthode

Adds a value
This method automatically determins the type of the value and creates the appropriate SqlConstant object.
public Add ( object val ) : void
val object The value which is to be added
Résultat void

AddRange() public méthode

Adds the elements of an array to the end of this SqlConstantCollection.
public AddRange ( SqlConstant items ) : void
items SqlConstant /// The array whose elements are to be added to the end of this SqlConstantCollection. ///
Résultat void

AddRange() public méthode

Adds the elements of another SqlConstantCollection to the end of this SqlConstantCollection.
public AddRange ( SqlConstantCollection items ) : void
items SqlConstantCollection /// The SqlConstantCollection whose elements are to be added to the end of this SqlConstantCollection. ///
Résultat void

Contains() public méthode

Determines whether a specfic SqlConstant value is in this SqlConstantCollection.
public Contains ( SqlConstant value ) : bool
value SqlConstant /// The SqlConstant value to locate in this SqlConstantCollection. ///
Résultat bool

FromList() public static méthode

Creates a SqlConstantCollection from a list of values.
The type of SqlConstant items in the collection is determined automatically. See Add method for more info.
public static FromList ( IList values ) : SqlConstantCollection
values IList
Résultat SqlConstantCollection

GetEnumerator() public méthode

Returns an enumerator that can iterate through the elements of this SqlConstantCollection.
public GetEnumerator ( ) : SqlConstantCollection.Enumerator
Résultat SqlConstantCollection.Enumerator

IndexOf() public méthode

Return the zero-based index of the first occurrence of a specific value in this SqlConstantCollection
public IndexOf ( SqlConstant value ) : int
value SqlConstant /// The SqlConstant value to locate in the SqlConstantCollection. ///
Résultat int

Insert() public méthode

Inserts an element into the SqlConstantCollection at the specified index
public Insert ( int index, SqlConstant value ) : void
index int /// The index at which the SqlConstant is to be inserted. ///
value SqlConstant /// The SqlConstant to insert. ///
Résultat void

Remove() public méthode

Removes the first occurrence of a specific SqlConstant from this SqlConstantCollection.
public Remove ( SqlConstant value ) : void
value SqlConstant /// The SqlConstant value to remove from this SqlConstantCollection. ///
Résultat void

SqlConstantCollection() public méthode

Initializes a new empty instance of the SqlConstantCollection class.
public SqlConstantCollection ( ) : System
Résultat System

SqlConstantCollection() public méthode

Initializes a new instance of the SqlConstantCollection class, containing elements copied from an array.
public SqlConstantCollection ( SqlConstant items ) : System
items SqlConstant /// The array whose elements are to be added to the new SqlConstantCollection. ///
Résultat System

SqlConstantCollection() public méthode

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

SqlConstantCollection() public méthode

Initializes a new empty instance of the SqlConstantCollection class with the specified initial capacity
public SqlConstantCollection ( int capacity ) : System
capacity int
Résultat System

this() public méthode

Gets or sets the SqlConstant at the given index in this SqlConstantCollection.
public this ( int index ) : SqlConstant
index int
Résultat SqlConstant