HttpHeaderValueCollection<T>::CopyTo Method (array<T>^, Int32)

.NET Framework (current version)
 

Copies the entire HttpHeaderValueCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

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

Parameters

array
Type: array<T>^

The one-dimensional Array that is the destination of the elements copied from HttpHeaderValueCollection<T>. The Array must have zero-based indexing.

arrayIndex
Type: System::Int32

The zero-based index in array at which copying begins.

The specified array must be of a compatible type.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: