Compartir a través de


Duration Class

Definition

Represents an edm.duration value.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Graph.DurationConverter))]
public class Duration
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Graph.DurationConverter))>]
type Duration = class
Public Class Duration
Inheritance
Duration
Attributes
Newtonsoft.Json.JsonConverterAttribute

Constructors

Duration(String)

Create a Duration object from an ISO8601 duration.

Duration(TimeSpan)

Create a Duration object from a TimeSpan.

Methods

ToString()

Convert the stored TimeSpan into an ISO8601 duration.

Applies to