/1[], Int32)
Copies the route names and IHttpRoute instances of the collection to an array, starting at a particular array index.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Sub CopyTo ( _
array As IHttpRoute(), _
arrayIndex As Integer _
)
'Usage
Dim instance As HttpRouteCollection
Dim array As IHttpRoute()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public virtual void CopyTo(
IHttpRoute[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<IHttpRoute^>^ array,
int arrayIndex
)
abstract CopyTo :
array:IHttpRoute[] *
arrayIndex:int -> unit
override CopyTo :
array:IHttpRoute[] *
arrayIndex:int -> unit
public function CopyTo(
array : IHttpRoute[],
arrayIndex : int
)
Parameters
- array
Type: 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(T[], Int32)