Get the index of the tool with given Key from the ToolsCollection. Returns -1 if tool is not in the collection.
ToolsCollection Class | Aveva.ApplicationFramework.Presentation Namespace