TimeSpan.TryParse Method

Top 

Description

Attempts to convert a string value into a TimeSpan value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

TimeSpan.TryParse(String seconds, TimeSpan result)

Variable

Attempts to convert a string value into a TimeSpan value.

TimeSpan.TryParse(String value, String units, TimeSpan result)

Variable

Attempts to convert a string value into a TimeSpan value.

 

 

See also

TimeSpan Object

TimeSpans Guide

Parsing Dates and Times