Gets or sets a value indicating whether duplicate items are allowed in the collection.
Namespace: DigitalRune.CollectionsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.10.0.0 (1.10.0.9503)
Syntax
| C# |
|---|
public bool AllowDuplicates { get; private set; } |
| Visual Basic |
|---|
Public Property AllowDuplicates As Boolean
Get
Private Set |
| Visual C++ |
|---|
public:
property bool AllowDuplicates {
bool get ();
private: void set (bool value);
} |
Field Value
trueTruetruetrue (True in Visual Basic) if duplicate items are allowed; otherwise,
falseFalsefalsefalse (False in Visual Basic).
The default value is
trueTruetruetrue (True in Visual Basic).
See Also