Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


DurationConverter Class

Definition

Converter for serializing and deserializing Duration objects.

C#
public class DurationConverter : Newtonsoft.Json.JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
DurationConverter

Constructors

Methods

CanConvert(Type)

Checks if the given object can be converted into a Duration object.

ReadJson(JsonReader, Type, Object, JsonSerializer)

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

WriteJson(JsonWriter, Object, JsonSerializer)

Serializes the edm.duration representation of the Microsoft.Graph.Duration object.

Applies to

Προϊόν Εκδόσεις
Microsoft Graph .NET latest