Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NToolCollection Class / IndexOf Method
tool


In This Topic
    IndexOf Method (NToolCollection)
    In This Topic
    Determines the index of the tool in the collection
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal tool As NTool _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NToolCollection
    Dim tool As NTool
    Dim value As System.Integer
     
    value = instance.IndexOf(tool)
    public System.int IndexOf( 
       NTool tool
    )

    Parameters

    tool
    tool

    Return Value

    index of the tool or -1 if it is not in the collection
    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