CopyTo Method

MessageHeaders.CopyTo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Copies the headers from this collection to an array, starting at a particular index of the array.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void CopyTo(
	MessageHeaderInfo[] array,
	int index
)

Parameters

array
Type: System.ServiceModel.Channels.MessageHeaderInfo []
The one-dimensional array that is the destination of the message header objects copied from this instance. The array must have zero-based indexing.
index
Type: System.Int32
The zero-based index in the array at which copying begins.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft