ReadOnlyPropertiesDictionary ClassApache log4net™ SDK Documentation
String keyed object map that is read only.
Inheritance Hierarchy

SystemObject
  log4net.UtilReadOnlyPropertiesDictionary
    log4net.UtilPropertiesDictionary

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

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

The ReadOnlyPropertiesDictionary type exposes the following members.

Constructors

  NameDescription
Public methodReadOnlyPropertiesDictionary
Constructor
Public methodReadOnlyPropertiesDictionary(ReadOnlyPropertiesDictionary)
Copy Constructor
Protected methodReadOnlyPropertiesDictionary(SerializationInfo, StreamingContext)
Deserialization constructor
Top
Properties

  NameDescription
Public propertyCount
The number of properties in this collection
Protected propertyInnerHashtable
The hashtable used to store the properties
Public propertyItem
Gets or sets the value of the property with the specified key.
Top
Methods

  NameDescription
Public methodClear
Remove all properties from the properties collection
Public methodContains
Test if the dictionary contains a specified key
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKeys
Gets the key names.
Public methodGetObjectData
Serializes this object into the SerializationInfo provided.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
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