Share via


JsonReader.ReadEnum<T> method

Creates a generic enumeration value 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
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

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

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

Type parameters

  • T
    The specified type of the enumeration value.

Return value

Type: T
Double .

Remarks

The type of the token that can be used to create the enumeration value is Long. This method changes the type of the enumeration value to the specified generic type.

See also

Reference

JsonReader class

JsonReader members

Microsoft.SharePoint.Client namespace