ReadOnlyPropertiesDictionary Class | Apache log4net™ SDK Documentation

String keyed object map that is read only.
Inheritance Hierarchy

System
Object
log4net.Util
ReadOnlyPropertiesDictionary
log4net.Util
PropertiesDictionary

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    [SerializableAttribute]
    public class ReadOnlyPropertiesDictionary : ISerializable,
    	IDictionary, ICollection, IEnumerable

    <SerializableAttribute>
    Public Class ReadOnlyPropertiesDictionary
    	Implements ISerializable, IDictionary, ICollection, IEnumerable

    [SerializableAttribute]
    public ref class ReadOnlyPropertiesDictionary : ISerializable,
    	IDictionary, ICollection, IEnumerable

    [<SerializableAttribute>]
    type ReadOnlyPropertiesDictionary =
        class
            interface ISerializable
            interface IDictionary
            interface ICollection
            interface IEnumerable
        end

The ReadOnlyPropertiesDictionary type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ReadOnlyPropertiesDictionary | Constructor
| ReadOnlyPropertiesDictionary(ReadOnlyPropertiesDictionary) | Copy Constructor
| ReadOnlyPropertiesDictionary(SerializationInfo, StreamingContext) | Deserialization constructor

Top
Properties

| Name | Description
--- | --- | ---
| Count | The number of properties in this collection
| InnerHashtable | The hashtable used to store the properties
| Item | Gets or sets the value of the property with the specified key.

Top
Methods

| Name | Description
--- | --- | ---
| Clear | Remove all properties from the properties collection
| Contains | Test if the dictionary contains a specified key
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetKeys | Gets the key names.
| GetObjectData | Serializes this object into the SerializationInfo provided.
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

This collection is readonly and cannot be modified.

While this collection is serializable only member objects that are serializable will be serialized along with this collection.

See Also

#### Reference

log4net.Util Namespace