LevelCollection CopyTo Method ( Level , Int32) | Apache log4net™ SDK Documentation

Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.

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

C#
VB
C++
F#
Copy

    public virtual void CopyTo(
    	Level[] array,
    	int start
    )

    Public Overridable Sub CopyTo (
    	array As Level(),
    	start As Integer
    )

    public:
    virtual void CopyTo(
    	array<Level^>^ array,
    	int start
    )

    abstract CopyTo :
            array : Level[] *
            start : int -> unit
    override CopyTo :
            array : Level[] *
            start : int -> unit

#### Parameters

array
  Type:
  log4net.Core
  Level
  The one-dimensional Level array to copy to.
start
  Type: System
  Int32
  The zero-based index in array at which copying begins.

See Also

#### Reference

LevelCollection Class
CopyTo Overload
log4net.Core Namespace