TraceListenerCollection.CopyTo(TraceListener[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies a section of the current TraceListenerCollection list to the specified array at the specified index.
public:
void CopyTo(cli::array <System::Diagnostics::TraceListener ^> ^ listeners, int index);
public void CopyTo (System.Diagnostics.TraceListener[] listeners, int index);
member this.CopyTo : System.Diagnostics.TraceListener[] * int -> unit
Public Sub CopyTo (listeners As TraceListener(), index As Integer)
Parameters
- listeners
- TraceListener[]
An array of type Array to copy the elements into.
- index
- Int32
The starting index number in the current list to copy from.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.