FCFL.NET Common Library - API Reference
IndexOf Method (DataParameterCollection)

The IDbDataParameter whose index to retrieve.
Returns the index at which this object exists in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As Object _
) As Integer
public int IndexOf( 
   object value
)

Parameters

value
The IDbDataParameter whose index to retrieve.

Return Value

The zero-based index of the first occurrence of value within the entire DataParameterCollection, if found; otherwise, -1.
Remarks

The DataParameterCollection is searched forward starting at the first element and ending at the last element.
This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.
 
This method determines equality by calling Object.Equals.

Requirements

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

See Also

Reference

DataParameterCollection Class
DataParameterCollection Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.