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

CTor

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

Syntax

C#
public ListWithEvents(
	bool AddingReadOnly,
	bool CancelError
)
Visual Basic
Public Sub New ( _
	AddingReadOnly As Boolean, _
	CancelError As Boolean _
)
Visual C++
public:
ListWithEvents(
	bool AddingReadOnly, 
	bool CancelError
)
F#
new : 
        AddingReadOnly:bool * 
        CancelError:bool -> ListWithEvents
JScript
public function ListWithEvents(
	AddingReadOnly : boolean, 
	CancelError : boolean
)

Parameters

AddingReadOnly
Type: System..::..Boolean
Value of AddingReadOnly property that determines ReadOnly property value for the Adding and ItemChanging events
CancelError
Type: System..::..Boolean
Value of CancelError that determines if and OperationCanceledException is thrown when item operation is canceled in event handler.

See Also