共用方式為


JsonReader.Read<T> Method

Creates a generic object 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 Read(Of T) As T
'Usage
Dim instance As JsonReader
Dim returnValue As T

returnValue = instance.Read()
public T Read<T>()

Type Parameters

  • T
    The type of the object that will be created from the JSON string.

Return Value

Type: T
JsonTokenType .

Remarks

The type of the object that is created by this method must be one of the types in JsonTokenType.

See Also

Reference

JsonReader Class

JsonReader Members

Microsoft.SharePoint.Client Namespace