Xceed .NET Libraries Documentation
IndexOf Method (FtpItemInfoList)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpItemInfoList Class : IndexOf Method
The FtpItemInfo object to locate.
Searches for the specified FtpItemInfo object and returns the zero-based index of the first occurrence within the list.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As FtpItemInfo _
) As Integer
'Usage
 
Dim instance As FtpItemInfoList
Dim value As FtpItemInfo
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   FtpItemInfo value
)

Parameters

value
The FtpItemInfo object to locate.

Return Value

The zero-based index of the first occurrence of value within the entire list, if found; otherwise, returns -1.
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

FtpItemInfoList Class
FtpItemInfoList Members