MessageProperties::ICollection<KeyValuePair<String^, Object^>>::CopyTo Method (array<KeyValuePair<String^, Object^>>^, Int32)

 

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

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

private:
virtual void CopyTo(
	array<KeyValuePair<String^, Object^>>^ array,
	int index
) sealed = ICollection<KeyValuePair<String^, Object^>>::CopyTo

Parameters

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

The Array to copy the collection to.

index
Type: System::Int32

The index to start from.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: