MessageProperties.ICollection<KeyValuePair<String,Object>>.CopyTo 方法

定义

从指定的索引位置开始,将所指定 MessageProperties 的内容复制到某一数组。

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int index) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::CopyTo;
void ICollection<KeyValuePair<string,object>>.CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int index);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
Sub CopyTo (array As KeyValuePair(Of String, Object)(), index As Integer) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo

参数

array
KeyValuePair<String,Object>[]

要向其复制集合的数组。

index
Int32

从其开始的索引。

实现

适用于