Mono Class Library: System.Collections.IDictionary Overview | Members

System.Collections.IDictionary.IsFixedSize Property

Gets a value indicating whether the current instance has a fixed size. [Edit]

public bool IsFixedSize { get; }

Value

true if the current instance has a fixed size; otherwise, false. [Edit]

Remarks

This property is read-only.

Note: A collection with a fixed size does not allow the addition or removal of elements, but does allow the modification of existing elements.

Operation
As described above.

The default of this property is false.

Note to Inheritors
Override this method, setting the value as true , to prevent the addition and removal of the elements in the current instance.

[Edit]

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0