DurationConverter Class
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.
Converter for serializing and deserializing Duration objects.
C#
public class DurationConverter : Newtonsoft.Json.JsonConverter
type DurationConverter = class
inherit JsonConverter
Public Class DurationConverter
Inherits JsonConverter
- Inheritance
-
Newtonsoft.Json.JsonConverterDurationConverter
Can |
Checks if the given object can be converted into a Duration object. |
Read |
Deserialize the edm.duration into an Microsoft.Graph.Duration object. |
Write |
Serializes the edm.duration representation of the Microsoft.Graph.Duration object. |
Προϊόν | Εκδόσεις |
---|---|
Microsoft Graph .NET | latest |