Duration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |