Npgsql Api Docs |

# NpgsqlParameterCollection Methods

The methods of the NpgsqlParameterCollection class are listed below. For a complete list of NpgsqlParameterCollection class members, see the NpgsqlParameterCollection Members topic.

#### Public Instance Methods

Add | Overloaded. Adds the specified NpgsqlParameter object to the NpgsqlParameterCollection.
AddRange |
Clear | Removes all items from the collection.
Contains | Overloaded. Gets a value indicating whether a NpgsqlParameter with the specified parameter name exists in the collection.
CopyTo | Overloaded. Copies NpgsqlParameter objects from the NpgsqlParameterCollection to the specified array.
CreateObjRef (inherited from MarshalByRefObject) |
Equals (inherited from Object) |
GetEnumerator | Returns an enumerator that can iterate through the collection.
GetHashCode (inherited from Object) |
GetLifetimeService (inherited from MarshalByRefObject) |
GetType (inherited from Object) |
IndexOf | Overloaded. Gets the location of the NpgsqlParameter in the collection with a specific parameter name.
InitializeLifetimeService (inherited from MarshalByRefObject) |
Insert | Overloaded. Inserts a NpgsqlParameter into the collection at the specified index.
Remove | Overloaded. Removes the specified NpgsqlParameter from the collection.
RemoveAt | Overloaded. Removes the specified NpgsqlParameter from the collection using the parameter name.
ToString (inherited from Object) |
TryGetValue | Gets a value indicating whether a NpgsqlParameter with the specified parameter name exists in the collection.

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace