DbParameterCollection.IndexOf 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.
Returns the index of the specified DbParameter object.
Overloads
IndexOf(Object) |
Returns the index of the specified DbParameter object. |
IndexOf(String) |
Returns the index of the DbParameter object with the specified name. |
IndexOf(Object)
- Source:
- DbParameterCollection.cs
- Source:
- DbParameterCollection.cs
- Source:
- DbParameterCollection.cs
Returns the index of the specified DbParameter object.
public:
abstract int IndexOf(System::Object ^ value);
public abstract int IndexOf (object value);
abstract member IndexOf : obj -> int
Public MustOverride Function IndexOf (value As Object) As Integer
Parameters
- value
- Object
The DbParameter object in the collection.
Returns
The index of the specified DbParameter object.
Implements
See also
Applies to
IndexOf(String)
- Source:
- DbParameterCollection.cs
- Source:
- DbParameterCollection.cs
- Source:
- DbParameterCollection.cs
Returns the index of the DbParameter object with the specified name.
public:
abstract int IndexOf(System::String ^ parameterName);
public abstract int IndexOf (string parameterName);
abstract member IndexOf : string -> int
Public MustOverride Function IndexOf (parameterName As String) As Integer
Parameters
- parameterName
- String
The name of the DbParameter object in the collection.
Returns
The index of the DbParameter object with the specified name.
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