HttpListenerPrefixCollection.CopyTo Method (Array, Int32)
Assembly: System (in system.dll)
The one dimensional Array that receives the Uniform Resource Identifier (URI) prefix strings in this collection.
The zero-based index in array at which copying begins.
array has more than one dimension.
This collection contains more elements than can be stored in array starting at offset.
The HttpListener associated with this collection is closed.
array cannot store string values.
The following code example copies the prefixes in a HttpListenerPrefixCollection.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.