DbParameterCollection.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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om