Accusoft.TwainPro9.Net
IndexOf Method (DataSourceCollection)




Determines if the specified string is in the collection and returns the corresponding index value.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As String _
) As Integer
'Usage
 
Dim instance As DataSourceCollection
Dim value As String
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   string value
)
public: int IndexOf( 
   string* value
) 
public:
int IndexOf( 
   String^ value
) 

Parameters

value

Return Value

A zero-based index value which represents where in the collection the element resides.
Remarks

This method searches the collection for a reference to the given object. If it does not find a reference to it, this method returns -1. If the object is present more than once in the collection, this method returns the lowest index of a match.

See Also

Reference

DataSourceCollection Class
DataSourceCollection Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback