Compartir a través de


del método JsonReader.ReadTimeSpan

Lee un intervalo de intervalo de tiempo desde el token JSON.

Espacio de nombres:  Microsoft.SharePoint.Client
Ensamblados:   Microsoft.SharePoint.Client.Silverlight.Runtime (en Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (en Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (en Microsoft.SharePoint.Client.Runtime.dll)

Sintaxis

'Declaración
Public Function ReadTimeSpan As TimeSpan
'Uso
Dim instance As JsonReader
Dim returnValue As TimeSpan

returnValue = instance.ReadTimeSpan()
public TimeSpan ReadTimeSpan()

Valor devuelto

Tipo: System.TimeSpan
El intervalo de tiempo.

Excepciones

Excepción Condición
InvalidOperationException

El token JSON no es un tipo de cadena.

Vea también

Referencia

clase JsonReader

Miembros JsonReader

Espacio de nombres Microsoft.SharePoint.Client