Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelCollection Members

LevelCollection overview

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a LevelCollection instance.

Public Instance Constructors

LevelCollection Overloaded. Initializes a new instance of the LevelCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the LevelCollection can contain.
Count Gets the number of elements actually contained in the LevelCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the Level at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

Add Adds a Level to the end of the LevelCollection.
AddRangeOverloaded. 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.
CopyToOverloaded. Copies the entire LevelCollection to a one-dimensional Level array.
Equals (inherited from Object)
GetEnumerator Returns an enumerator that can iterate through the LevelCollection.
GetHashCode (inherited from Object)
GetType (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.
Remove Removes the first occurrence of a specific Level from the LevelCollection.
RemoveAt Removes the element at the specified index of the LevelCollection.
ToString (inherited from Object)
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

Protected Internal Instance Constructors

LevelCollection Overloaded. Initializes a new instance of the LevelCollection class.

See Also

LevelCollection Class | log4net.Core Namespace