←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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize