MessageProperties.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo Method
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)
'Declaration
Private Sub System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo ( _
array As KeyValuePair(Of String, Object)(), _
index As Integer _
) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo
'Usage
Dim instance As MessageProperties
Dim array As KeyValuePair(Of String, Object)()
Dim index As Integer
CType(instance, ICollection(Of KeyValuePair(Of String, Object))).CopyTo(array, index)
void ICollection<KeyValuePair<string,Object>>.CopyTo (
KeyValuePair<string,Object>[] array,
int index
)
private:
virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo (
array<KeyValuePair<String^, Object^>>^ array,
int index
) sealed = ICollection<KeyValuePair<String^, Object^>>::CopyTo
Not applicable.
- array
The Array to copy the collection to.
- index
The index to start from.
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Supported in: 3.0
MessageProperties Class
MessageProperties Members
System.ServiceModel.Channels Namespace