[This is preliminary documentation and is subject to change.]
When overiden in derived class gets or sets value indicating if items implementing
ICollectionCancelItem are allowed to cancel itselves being added/removed to/from the list.
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public abstract bool AllowItemCancel { get; set; } |
| Visual Basic |
|---|
Public MustOverride Property AllowItemCancel As Boolean
Get
Set |
| Visual C++ |
|---|
public:
virtual property bool AllowItemCancel {
bool get () abstract;
void set (bool value) abstract;
} |
| F# |
|---|
abstract AllowItemCancel : bool with get, set
|
| JScript |
|---|
abstract function get AllowItemCancel () : boolean
abstract function set AllowItemCancel (value : boolean) |
Field Value
False to prevent items from cancel itselves being added/removed; true to allow it. Default value is true.
Return Value
True if item are allowed to cancel itselves being added/removed; false when they are not
Remarks
Exceptions
See Also