dotConnect for Dynamics 365 Documentation
Devart.Common Namespace / DbParameterBaseCollection Class / IndexOf Method / IndexOf(String) Method
The name of the parameter to retrieve.

IndexOf(String) Method
Gets the location in the collection of the DbParameterBase object with a specific parameter name.
Syntax
'Declaration
 
Public Overloads Overrides Function IndexOf( _
   ByVal parameterName As String _
) As Integer
 

Parameters

parameterName
The name of the parameter to retrieve.

Return Value

The zero-based location of the DbParameterBase in the collection.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also