Xceed .NET Libraries Documentation
ListIndexOf Method


Xceed.Zip Assembly > Xceed.Utils.Collections Namespace > ListBase Class : ListIndexOf Method
The item to locate.
Searches for the specified item in the list and returns the zero-based index of the first occurrence.
Syntax
'Declaration
 
Protected Function ListIndexOf( _
   ByVal value As Object _
) As Integer
'Usage
 
Dim instance As ListBase
Dim value As Object
Dim value As Integer
 
value = instance.ListIndexOf(value)
protected int ListIndexOf( 
   object value
)

Parameters

value
The item to locate.

Return Value

The zero-based index of the first occurrence of value within the entire list, if found; otherwise, returns -1.
Remarks
When using the List* methods in a derived class, all verifications will be done.
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

Reference

ListBase Class
ListBase Members