←Select platform

IndexOf Method

Summary

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

Syntax

C#
VB
C++
public virtual int IndexOf( 
   T item 
) 
Public Overridable Function IndexOf( _ 
   ByVal item As T _ 
) As Integer 
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 RasterCollection<T>.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly