The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HttpRouteCollection::CopyTo Method
Namespace:
System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | CopyTo(array<IHttpRoute^>^, Int32) | Copies the route names and IHttpRoute instances of the collection to an array, starting at a particular array index. |
![]() | CopyTo(array<KeyValuePair<String^, IHttpRoute^>>^, Int32) | Copies the IHttpRoute instances of the collection to an array, starting at a particular array index. |
HttpRouteCollection::CopyTo Method (array<IHttpRoute^>^, Int32)
Copies the route names and IHttpRoute instances of the collection to an array, starting at a particular array index.
Parameters
- array
-
Type:
array<System.Web.Http.Routing::IHttpRoute^>^
The array that is the destination of the elements copied from the collection.
- arrayIndex
-
Type:
System::Int32
The zero-based index in array at which copying begins.
Implements
ICollection<T>::CopyTo(array<T>^, Int32)HttpRouteCollection::CopyTo Method (array<KeyValuePair<String^, IHttpRoute^>>^, Int32)
Copies the IHttpRoute instances of the collection to an array, starting at a particular array index.
public: virtual void CopyTo( array<KeyValuePair<String^, IHttpRoute^>>^ array, int arrayIndex )
Parameters
- array
-
Type:
array<System.Collections.Generic::KeyValuePair<String^, IHttpRoute^>>^
The array that is the destination of the elements copied from the collection.
- arrayIndex
-
Type:
System::Int32
The zero-based index in array at which copying begins.
Show:
