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


In This Topic
    GetToolByName Method
    In This Topic
    Obtains a reference to the tool with the specified name
    Syntax
    'Declaration
     
    
    Public Overridable Function GetToolByName( _
       ByVal toolName As System.String _
    ) As NTool
    'Usage
     
    
    Dim instance As NToolCollection
    Dim toolName As System.String
    Dim value As NTool
     
    value = instance.GetToolByName(toolName)
    public virtual NTool GetToolByName( 
       System.string toolName
    )

    Parameters

    toolName
    tool name

    Return Value

    tool reference if a tool with this name was found, otherwise false
    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