Common Application Framework

ToolsCollection Methods

The methods of the ToolsCollection class are listed below. For a complete list of ToolsCollection class members, see the ToolsCollection Members topic.

Public Instance Methods

AddTool Create an instance of a root tool and add it to the ToolsCollection, with the same Key.
Clear Remove all tool instances from the ToolsCollection.
Contains Determine if the tool instance with the specified Key exists in the ToolsCollection.
CopyTo Copies the elements of the collection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the Collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Get the index of the tool with given Key from the ToolsCollection. Returns -1 if tool is not in the collection.
InsertTool Create an instance of a root tool and insert it into the ToolsCollection at the given index, with the same Key.
Remove Remove the tool instance with the specified Key from the ToolsCollection.
RemoveAt Remove the tool instance at the specified index position from the ToolsCollection.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ToolsCollection Class | Aveva.ApplicationFramework.Presentation Namespace