EmptyDictionary CopyTo Method | Apache log4net™ SDK Documentation

Copies the elements of the ICollection to an Array, starting at a particular Array index.

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

C#
VB
C++
F#
Copy

    public void CopyTo(
    	Array array,
    	int index
    )

    Public Sub CopyTo (
    	array As Array,
    	index As Integer
    )

    public:
    virtual void CopyTo(
    	Array^ array,
    	int index
    ) sealed

    abstract CopyTo :
            array : Array *
            index : int -> unit
    override CopyTo :
            array : Array *
            index : int -> unit

#### Parameters

array
  Type: System
  Array
  The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
  Type: System
  Int32
  The zero-based index in array at which copying begins.

#### Implements

ICollection
CopyTo(Array, Int32)
Remarks

As the collection is empty no values are copied into the array.

See Also

#### Reference

EmptyDictionary Class
log4net.Util Namespace