IDataParameterCollection.Contains(String) Method

Definition

Gets a value indicating whether a parameter in the collection has the specified name.

public:
 bool Contains(System::String ^ parameterName);
public bool Contains (string parameterName);
abstract member Contains : string -> bool
Public Function Contains (parameterName As String) As Boolean

Parameters

parameterName
String

The name of the parameter.

Returns

Boolean

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

Applies to