共用方式為


DurationConverter.ReadJson(JsonReader, Type, Object, JsonSerializer) Method

Definition

Deserialize the edm.duration into an Microsoft.Graph.Duration object.

public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * obj * Newtonsoft.Json.JsonSerializer -> obj
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As Object, serializer As JsonSerializer) As Object

Parameters

reader
Newtonsoft.Json.JsonReader
objectType
Type
existingValue
Object
serializer
Newtonsoft.Json.JsonSerializer

Returns

A Microsoft.Graph.Duration object.

Applies to