SqlParameterCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
true
if the SqlParameterCollection contains the value; otherwise, false
.