ImageMan.Net Version 3 Summer 2012 Release
IndexOf Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImageCollection Class : IndexOf Method





img
The image to find

Glossary Item Box

Returns the Index of the specified image.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal img As ImImage _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As ImageCollection
Dim img As ImImage
Dim value As System.Integer
 
value = instance.IndexOf(img)
C# 
public System.int IndexOf( 
   ImImage img
)
JScript 
public function IndexOf( 
   img : ImImage
) : System.int;
Managed Extensions for C++ 
public: System.int IndexOf( 
   ImImage* img
) 
C++/CLI 
public:
System.int IndexOf( 
   ImImage^ img
) 

Parameters

img
The image to find

Return Value

The index of the image in the collection or -1 if not found.

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

© 2014 Data Techniques, Inc. All Rights Reserved.