共用方式為


JsonReader.ReadSingle Method

Creates a Single 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 ReadSingle As Single
'Usage
Dim instance As JsonReader
Dim returnValue As Single

returnValue = instance.ReadSingle()
public float ReadSingle()

Return Value

Type: System.Single
Single .

Remarks

The type of the token that can be used to create the Single object from the JSON string can be Long, ULong and Double. This method converts the value of the token to a value of Single.

See Also

Reference

JsonReader Class

JsonReader Members

Microsoft.SharePoint.Client Namespace