Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IndexOf Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : IndexOf Method



item
Object to test.
Returns the index of the specified item if it is found in the collection.

Syntax

Visual Basic (Declaration)  
Public Overridable Function IndexOf( _
   ByVal item As T _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As RasterCollection(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
C#  
public virtual int IndexOf( 
   T item
)
C++/CLI  
public:
virtual int IndexOf( 
   T item
) 

Parameters

item
Object to test.

Return Value

The index of the specified item if it is found in the collection.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also