ICollection(KeyValuePair(String, Object)).CopyTo Method

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

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

Copies the content of the specified MessageProperties to an array, starting at the specified index. This method cannot be inherited.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.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)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft