Compartir a través de


JsonReader.ReadArray<T> Method

Creates a generic array from the JSON string. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function ReadArray(Of T) As T()
'Usage
Dim instance As JsonReader
Dim returnValue As T()

returnValue = instance.ReadArray()
public T[] ReadArray<T>()

Type Parameters

  • T
    The type of the value in the generic array.

Return Value

Type: []
JsonTokenType .

Remarks

The JSON string that this method uses to create an array must start with the “[” and end with the “]”, such as “[value1,value2,…]”.

See Also

Reference

JsonReader Class

JsonReader Members

Microsoft.SharePoint.Client Namespace