Parse Method

TimeSpan.Parse Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the string representation of a time interval to its TimeSpan equivalent.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Parse(String) Converts the string representation of a time interval to its TimeSpan equivalent.
Public method Static member Parse(String, IFormatProvider) Converts the string representation of a time interval to its TimeSpan equivalent by using the specified culture-specific format information.
Top

Show:
© 2017 Microsoft