CopyTo Method

log4net SDK Reference |

# AppenderCollection.CopyTo Method

Copies the entire `AppenderCollection` to a one-dimensional IAppender array.

#### Overload List

Copies the entire `AppenderCollection` to a one-dimensional IAppender array.

> public virtual void CopyTo(IAppender[]);

Copies the entire `AppenderCollection` to a one-dimensional IAppender array, starting at the specified index of the target array.

> public virtual void CopyTo(IAppender[],int);

#### See Also

AppenderCollection Class | log4net.Appender Namespace