PropertiesDictionary Class | Apache log4net™ SDK Documentation

String keyed object map.
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 sealed class PropertiesDictionary : ReadOnlyPropertiesDictionary,
    	ISerializable, IDictionary, ICollection, IEnumerable

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

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

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

The PropertiesDictionary type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| PropertiesDictionary | Constructor
| PropertiesDictionary(ReadOnlyPropertiesDictionary) | Constructor

Top
Properties

| Name | Description
--- | --- | ---
| Count | The number of properties in this collection (Inherited from ReadOnlyPropertiesDictionary.)
| Item | Gets or sets the value of the property with the specified key. (Overrides ReadOnlyPropertiesDictionary Item String .)

Top
Methods

| Name | Description
--- | --- | ---
| Clear | Remove all properties from the properties collection (Overrides ReadOnlyPropertiesDictionary Clear .)
| Contains | Test if the dictionary contains a specified key (Inherited from ReadOnlyPropertiesDictionary.)
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetKeys | Gets the key names. (Inherited from ReadOnlyPropertiesDictionary.)
| GetObjectData | Serializes this object into the SerializationInfo provided. (Inherited from ReadOnlyPropertiesDictionary.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| Remove | Remove the entry with the specified key from this dictionary
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

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

See Also

#### Reference

log4net.Util Namespace