CopyTo() public method

public CopyTo ( System listeners, int index ) : void
listeners System
index int
return void
        //---------------------------------------------------------------------

        public static SysDiag.TraceListener[] Copy(SysDiag.TraceListenerCollection listeners)
        {
            SysDiag.TraceListener[] array = new SysDiag.TraceListener[listeners.Count];
            listeners.CopyTo(array, 0);
            return(array);
        }