Share via


SqlParameterCollection.Contains Method

Definition

Overloads

Contains(SqlParameter)

Determines whether the specified SqlParameter is in this SqlParameterCollection.

Contains(Object)

Determines whether the specified Object is in this SqlParameterCollection.

Contains(String)

Determines whether the specified parameter name is in this SqlParameterCollection.

Contains(SqlParameter)

Determines whether the specified SqlParameter is in this SqlParameterCollection.

public:
 bool Contains(Microsoft::Data::SqlClient::SqlParameter ^ value);
public bool Contains (Microsoft.Data.SqlClient.SqlParameter value);
override this.Contains : Microsoft.Data.SqlClient.SqlParameter -> bool
Public Function Contains (value As SqlParameter) As Boolean

Parameters

value
SqlParameter

The SqlParameter value.

Returns

true if the SqlParameterCollection contains the value; otherwise, false.

Applies to

Contains(Object)

Determines whether the specified Object is in this SqlParameterCollection.

public:
 override bool Contains(System::Object ^ value);
public override bool Contains (object value);
override this.Contains : obj -> bool
Public Overrides Function Contains (value As Object) As Boolean

Parameters

value
Object

The Object value.

Returns

true if the SqlParameterCollection contains the value; otherwise, false.

Applies to

Contains(String)

Determines whether the specified parameter name is in this SqlParameterCollection.

public:
 override bool Contains(System::String ^ value);
public override bool Contains (string value);
override this.Contains : string -> bool
Public Overrides Function Contains (value As String) As Boolean

Parameters

value
String

The String value.

Returns

true if the SqlParameterCollection contains the value; otherwise, false.

Applies to