AppenderCollection MembersApache log4net™ SDK Documentation
The AppenderCollection type exposes the following members.
Methods

  NameDescription
Public methodAdd
Adds a IAppender to the end of the AppenderCollection.
Public methodAddRange(ICollection)
Adds the elements of a IAppender collection to the current AppenderCollection.
Public methodAddRange(AppenderCollection)
Adds the elements of another AppenderCollection to the current AppenderCollection.
Public methodAddRange( IAppender )
Adds the elements of a IAppender array to the current AppenderCollection.
Public methodClear
Removes all elements from the AppenderCollection.
Public methodClone
Creates a shallow copy of the AppenderCollection.
Public methodContains
Determines whether a given IAppender is in the AppenderCollection.
Public methodCopyTo( IAppender )
Copies the entire AppenderCollection to a one-dimensional IAppender array.
Public methodCopyTo( IAppender , Int32)
Copies the entire AppenderCollection to a one-dimensional IAppender 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 AppenderCollection.
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 IAppender in the AppenderCollection.
Public methodInsert
Inserts an element into the AppenderCollection 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 AppenderCollection instance.
Public methodRemove
Removes the first occurrence of a specific IAppender from the AppenderCollection.
Public methodRemoveAt
Removes the element at the specified index of the AppenderCollection.
Public methodToArray
Return the collection elements as an array
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
Fields

  NameDescription
Public fieldStatic memberEmptyCollection
An empty readonly static AppenderCollection
Back to Top
Properties

  NameDescription
Public propertyCapacity
Gets or sets the number of elements the AppenderCollection can contain.
Public propertyCount
Gets the number of elements actually contained in the AppenderCollection.
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 IAppender at the specified index.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
Back to Top
See Also