Share via


JsonReader.PeekName method

Gets the value of the JSON token whose type is Name. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function PeekName As String
'Usage
Dim instance As JsonReader
Dim returnValue As String

returnValue = instance.PeekName()
public string PeekName()

Return value

Type: System.String
String .

Remarks

The token whose type is Name is the part that is in front of the “:” in a JSON string. This method does not advance the reading position.

See also

Reference

JsonReader class

JsonReader members

Microsoft.SharePoint.Client namespace