Version

Add(Control,CalcSettings) Method

Adds a setting to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal control As Control, _
   ByVal item As CalcSettings _
) As Integer
public int Add( 
   Control control,
   CalcSettings item
)

Parameters

control
The Control represented by item.
item
A CalcSettings instance representing control as a reference in the Calc network.

Return Value

The zero-based index at which item was added to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThrown when item is passed-in as null (Nothing in Visual Basic .NET).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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