[This is preliminary documentation and is subject to change.]

Raised before an item is added to the list. Raised by the Add(TKey, TValue) methods

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

Remarks

This event can be disabled (see AllowAddCancelableEventsHandlers. This means that InvalidOperationException is thrown when adding handler and AllowAddCancelableEventsHandlers is False.

Value of parameter e's Item can be changed if AddingReadOnly is False.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionAdding handler when AllowAddCancelableEventsHandlers is false

See Also