This documentation is archived and is not being maintained.

IDataParameterCollection.IndexOf Method

Gets the location of the IDataParameter within the collection.

[Visual Basic]
Function IndexOf( _
   ByVal parameterName As String _
) As Integer
[C#]
int IndexOf(
   string parameterName
);
[C++]
int IndexOf(
   String* parameterName
);
[JScript]
function IndexOf(
   parameterName : String
) : int;

Parameters

parameterName
The name of the parameter.

Return Value

The zero-based location of the IDataParameter within the collection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDataParameterCollection Interface | IDataParameterCollection Members | System.Data Namespace

Show: