ModelSerializationExtensions.GetTimeSpan(JsonElement, String) Method
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.
public static TimeSpan GetTimeSpan(this System.Text.Json.JsonElement element, string format);
static member GetTimeSpan : System.Text.Json.JsonElement * string -> TimeSpan
<Extension()>
Public Function GetTimeSpan (element As JsonElement, format As String) As TimeSpan
Parameters
- element
- JsonElement
- format
- String