JsonObject.ICollection<KeyValuePair<String,JsonNode>>.CopyTo Yöntem

Tanım

öğelerini JsonObject belirtilen dizi dizininden başlayarak KeyValuePair türünde bir diziye kopyalar.

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

Parametreler

array
KeyValuePair<String,JsonNode>[]

öğesinden JsonObjectkopyalanan öğelerin hedefi olan tek boyutlu Dizi.

index
Int32

array içinde kopyalamanın başladığı sıfır tabanlı dizin.

Uygulamalar

Özel durumlar

array, null değeridir.

index 0'dan küçüktür.

Kaynak ICollection'daki öğelerin sayısı, hedefin arraysonuna kadar olan kullanılabilir alandan index daha fazladır.

Şunlara uygulanır