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





tool
The tool.

Glossary Item Box

Returns the Index of the specified tool.

Syntax

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

Parameters

tool
The tool.

Return Value

The index of the tool 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.