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

System.Collections.Hashtable.IsReadOnly Property

Implemented to support the IDictionary interface. [Note: For more information, see IDictionary.IsReadOnly.] [Edit]

public virtual bool IsReadOnly { get; }

Value

true if the current instance is read-only; otherwise, false. [Edit]

Remarks

This property is read-only.

Note: Elements cannot be modified in, added to, or removed from a Hashtable that is read-only.

Operation
As described above.

The default value of this property is false.

Note to Inheritors
Override this property, setting it to true , in order to prevent the addition, removal, or modification of entries in the current instance.

[Edit]

Requirements

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