Information
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)

NameDescription
System_CAPS_pubmethodCopyTo(array<IHttpRoute^>^, Int32)

Copies the route names and IHttpRoute instances of the collection to an array, starting at a particular array index.

System_CAPS_pubmethodCopyTo(array<KeyValuePair<String^, IHttpRoute^>>^, Int32)

Copies the IHttpRoute instances of the collection to an array, starting at a particular array index.

Return to top

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.

public:
virtual void CopyTo(
	array<IHttpRoute^>^ array,
	int arrayIndex
)

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.

Return to top

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.

Return to top
Show: