Редагувати

Поділитися через


DbParameterCollection.Contains Method

Definition

Indicates whether a DbParameter with the specified property exists in the collection.

Overloads

Contains(Object)

Indicates whether a DbParameter with the specified Value is contained in the collection.

Contains(String)

Indicates whether a DbParameter with the specified name exists in the collection.

Contains(Object)

Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs

Indicates whether a DbParameter with the specified Value is contained in the collection.

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

Parameters

value
Object

The Value of the DbParameter to look for in the collection.

Returns

true if the DbParameter is in the collection; otherwise false.

Implements

See also

Applies to

Contains(String)

Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs

Indicates whether a DbParameter with the specified name exists in the collection.

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

Parameters

value
String

The name of the DbParameter to look for in the collection.

Returns

true if the DbParameter is in the collection; otherwise false.

Implements

See also

Applies to