AVEVA CAF API Documenation

Aveva.ApplicationFramework.Presentation Namespace > RootToolsCollection Class > AddContainerTool Method : AddContainerTool(String,String,Control,String,ArrayList,Boolean) Method
Unique key in the RootToolsCollection.
Caption for the tool.
Control assigned to the tool.
CommandID for the tool.
Arguments for the tool.
true to from XML.
AddContainerTool(String,String,Control,String,ArrayList,Boolean) Method
Create and add a new ContainerTool object to the RootToolsCollection.
Syntax

Parameters

key
Unique key in the RootToolsCollection.
text
Caption for the tool.
control
Control assigned to the tool.
commandId
CommandID for the tool.
arguments
Arguments for the tool.
fromXml
true to from XML.

Return Value

A ContainerTool.
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