JsonObject.ICollection<KeyValuePair<String,JsonNode>>.CopyTo Método

Definición

Copia los elementos de en JsonObject una matriz de tipo KeyValuePair a partir del índice de matriz especificado.

 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

Parámetros

array
KeyValuePair<String,JsonNode>[]

Matriz unidimensional que es el destino de los elementos copiados de JsonObject.

index
Int32

Índice de base cero en el array que comienza la copia.

Implementaciones

Excepciones

array es null.

index es menor que 0.

El número de elementos del ICollection de origen es mayor que el espacio disponible desde index hasta el final del destino array.

Se aplica a