Was this helpful?
IngresParameterCollection Class
The IngresParameterCollection class represents a collection of all parameters for an IngresCommand object and their mapping to a DataSet object.
IngresParameterCollection Class Declaration
The class declaration for IngresParameterCollection class is as follows:
C#: public sealed class IngresParameterCollection : System.Data.Common.DbParameterCollection, IDataParameterCollection, IList, ICollection, IEnumerable
VB.NET: NotInheritable Public Class IngresParameterCollection
Inherits System.Data.Common.DbParameterCollection
Implements IDataParameterCollection, IList, ICollection, IEnumerable
IngresParameterCollection Class Example
For an example of adding parameters to an IngresParameterCollection, see IngresParameter Class Example.
IngresParameterCollection Class Properties
The IngresParameterCollection has the following properties:
Property
Accessor
Description
Count
get
The number of parameters in the collection.
Item
get set
The IngresParameter object for a given ordinal or parameter name. This property is the C# indexer for IngresParameterCollection class.
IngresParameterCollection Class Public Methods
The public methods available to the IngresParameterCollection class are:
Method
Description
Add
Adds an IngresParameter to the parameter collection.
AddRange
Adds an array of values or IngresParameters to the parameter collection
AddWithValue
Adds an IngresParameter with a name and value to the parameter collection.
Clear
Removes all items from the collection.
Contains
Indicates whether IngresParameter exists in the collection. True = does exist; False = does not exist.
CopyTo
Copies the elements of IngresParameterCollection to an Array.
IndexOf
Returns the index of the IngresParameter in the collection.
Insert
Inserts the IngresParameter into the collection.
Remove
Removes the IngresParameter from the collection.
RemoveAt
Removes an IngresParameter with a specified index or name from the collection.
Last modified date: 01/30/2023