SqlParameterCollection.Contains Method (SqlParameter)

 

Determines whether the specified SqlParameter is in this SqlParameterCollection.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public bool Contains(
	SqlParameter value
)

Parameters

value
Type: System.Data.SqlClient.SqlParameter

The SqlParameter value.

Return Value

Type: System.Boolean

true if the SqlParameterCollection contains the value; otherwise false.

.NET Framework
Available since 2.0
Return to top
Show: