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:
[System::Runtime::CompilerServices::Extension]
static TimeSpan GetTimeSpan(System::Text::Json::JsonElement % element, System::String ^ format);
public static TimeSpan GetTimeSpan(this in System.Text.Json.JsonElement element, string format);
static member GetTimeSpan : JsonElement * string -> TimeSpan
<Extension()>
Public Function GetTimeSpan (ByRef element As JsonElement, format As String) As TimeSpan
Parameters
- element
- JsonElement
- format
- String