MessageProperties.ICollection<KeyValuePair<String, Object>>.CopyTo Method

Copies the content of the specified MessageProperties to an array, starting at the specified index.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

void ICollection<KeyValuePair<string, Object>>.CopyTo(
	KeyValuePair<string, Object>[] array,
	int index
)

Parameters

array
Type: System.Collections.Generic.KeyValuePair<String, Object>[]

The Array to copy the collection to.

index
Type: System.Int32

The index to start from.

Implements

ICollection<T>.CopyTo(T[], Int32)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show: