LevelCollection Methods | Apache log4net™ SDK Documentation

The LevelCollection type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Add | Adds a Level to the end of the LevelCollection.
| AddRange(ICollection) | Adds the elements of a Level collection to the current LevelCollection.
| AddRange( Level ) | Adds the elements of a Level array to the current LevelCollection.
| AddRange(LevelCollection) | Adds the elements of another LevelCollection to the current LevelCollection.
| Clear | Removes all elements from the LevelCollection.
| Clone | Creates a shallow copy of the LevelCollection.
| Contains | Determines whether a given Level is in the LevelCollection.
| CopyTo( Level ) | Copies the entire LevelCollection to a one-dimensional Level array.
| CopyTo( Level , Int32) | Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.
| 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.)
| GetEnumerator | Returns an enumerator that can iterate through the LevelCollection.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IndexOf | Returns the zero-based index of the first occurrence of a Level in the LevelCollection.
| Insert | Inserts an element into the LevelCollection at the specified index.
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ReadOnly | Creates a read-only wrapper for a LevelCollection instance.
| Remove | Removes the first occurrence of a specific Level from the LevelCollection.
| RemoveAt | Removes the element at the specified index of the LevelCollection.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)
| TrimToSize | Sets the capacity to the actual number of elements.

Top
See Also

#### Reference

LevelCollection Class
log4net.Core Namespace