OdbcParameterCollection::Contains Method (String^)
Gets a value indicating whether an OdbcParameter object with the specified parameter name exists in the collection.
Assembly: System.Data (in System.Data.dll)
Parameters
- value
-
Type:
System::String^
The name of the OdbcParameter object to find.
The following example searches for an OdbcParameter with a given ParameterName within an OdbcParameterCollection. If the parameter exists, the example displays the name and index of the parameter. If the parameter does not exist, the example displays an error. This example assumes that an OdbcParameterCollection has already been created.
Available since 1.1