Uredi

Deli z drugimi prek


JsonObject.CopyTo(KeyValuePair<String,JsonValue>[], Int32) Method

Definition

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, JsonValue)(), arrayIndex As Integer)

Parameters

array
KeyValuePair<String,JsonValue>[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

Implements

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to