ConversionToTimeSpan Method
Return a value converted to TimeSpan, with no exception thrown in the
case that the specified value is not valid.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static TimeSpan ToTimeSpan(
Object value
)
Public Shared Function ToTimeSpan (
value As Object
) As TimeSpan
No code example is currently available or this language may not be supported.
- value Object
-
Value to convert to a TimeSpan.
TimeSpan
If the caller's value was valid, a TimeSpan representation of that
value. Otherwise, TimeSpan.MinValue.