LevelCollection MembersApache log4net™ SDK Documentation
The LevelCollection type exposes the following members.
Constructors

  NameDescription
Public methodLevelCollection 
Initializes a new instance of the LevelCollection class that is empty and has the default initial capacity.
Public methodLevelCollection(ICollection)
Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level collection.
Public methodLevelCollection(Int32)
Initializes a new instance of the LevelCollection class that has the specified initial capacity.
Public methodLevelCollection( Level )
Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level array.
Public methodLevelCollection(LevelCollection)
Initializes a new instance of the LevelCollection class that contains elements copied from the specified LevelCollection.
Protected methodLevelCollection(LevelCollection Tag)
Allow subclasses to avoid our default constructors
Back to Top
Methods

  NameDescription
Public methodAdd
Adds a Level to the end of the LevelCollection.
Public methodAddRange(ICollection)
Adds the elements of a Level collection to the current LevelCollection.
Public methodAddRange( Level )
Adds the elements of a Level array to the current LevelCollection.
Public methodAddRange(LevelCollection)
Adds the elements of another LevelCollection to the current LevelCollection.
Public methodClear
Removes all elements from the LevelCollection.
Public methodClone
Creates a shallow copy of the LevelCollection.
Public methodContains
Determines whether a given Level is in the LevelCollection.
Public methodCopyTo( Level )
Copies the entire LevelCollection to a one-dimensional Level array.
Public methodCopyTo( Level , Int32)
Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetEnumerator
Returns an enumerator that can iterate through the LevelCollection.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodIndexOf
Returns the zero-based index of the first occurrence of a Level in the LevelCollection.
Public methodInsert
Inserts an element into the LevelCollection at the specified index.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberReadOnly
Creates a read-only wrapper for a LevelCollection instance.
Public methodRemove
Removes the first occurrence of a specific Level from the LevelCollection.
Public methodRemoveAt
Removes the element at the specified index of the LevelCollection.
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodTrimToSize
Sets the capacity to the actual number of elements.
Back to Top
Properties

  NameDescription
Public propertyCapacity
Gets or sets the number of elements the LevelCollection can contain.
Public propertyCount
Gets the number of elements actually contained in the LevelCollection.
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the IList is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public propertyItem
Gets or sets the Level at the specified index.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
Back to Top
See Also