Npgsql Api Docs |

# NpgsqlParameterCollection.Contains Method (String)

Gets a value indicating whether a NpgsqlParameter with the specified parameter name exists in the collection.

[Visual Basic]
Overrides Overloads Public Function Contains( _
ByVal parameterName As String _
) As Boolean _
Implements IDataParameterCollection.Contains
[C#]
public override bool Contains(
string parameterName
);

#### Parameters

parameterName
  The name of the NpgsqlParameter object to find.

#### Return Value

true if the collection contains the parameter; otherwise, false.

#### Implements

IDataParameterCollection.Contains

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace | NpgsqlParameterCollection.Contains Overload List