SqlParameterCollection.Contains Method

Definition

Determines whether the specified object is in this SqlParameterCollection.

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(System::Data::SqlClient::SqlParameter ^ value);
public bool Contains (System.Data.SqlClient.SqlParameter value);
override this.Contains : System.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.

See also

Contains(Object)

Determines whether the specified Object is in this SqlParameterCollection.

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

Parameters

value
Object

The Object value.

Returns

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

Implements

See also

Contains(String)

Determines whether the specified parameter name is in this SqlParameterCollection.

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

Parameters

value
String

The String value.

Returns

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

Implements

See also

Applies to