JsonObject.CopyTo(KeyValuePair<String,JsonValue>[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de