PreviousData Provider for .NET Guide (9.1 revision 1) Next

PsqlParameterCollection Object

Show this topic in Library frames

The PsqlParameterCollection object represents a collection of parameters relevant to a PsqlCommand, and includes their mappings to columns in a DataSet.

Table 4-19 describes the public properties for PsqlParameterCollection.

Table 4-19 Public Properties of PsqlParameterCollection
Property
Description
Count
Gets the number of PsqlParameter objects in the collection.
IsFixedSize
Gets a value that indicates whether the PsqlParameterCollection has a fixed size.
IsReadOnly
Gets a value that indicates whether the PsqlParameterCollection is read-only.
IsSynchronized
Gets a value that indicates whether the PsqlParameterCollection is thread-safe.
Item
Gets the parameter at the specified index. In C#, this property is the indexer for the IDataParameterCollection class.
SynchRoot
Gets the object used to synchronize access to the PsqlParameterCollection.

Table 4-20 provides the public methods for PsqlParameterCollection.

Table 4-20 Public Methods of the PsqlParameterCollection Object
Method
Description
Contains
Gets a value that indicates whether a parameter in the collection has the specified source table name.
IndexOf
Gets the location of the IDataParameter within the collection.
RemoveAt
Removes the IDataParameter from the collection.


Chapter contents
Publication contents

Prev topic: PsqlParameter Object
Next topic: PsqlTrace Object