TimeSpanStatic: Parse

Parse

Parses a string in the format of [d.]h:mm:ss[.ff] into a TimeSpan.



 Public Function Parse(
	  ByVal s As String ) As TimeSpan

Parameters

s
[ByVal] String. A string containing the date to be parsed.

Return Values

TimeSpan -  A TimeSpan created from the parsed string.

Remarks

This method will throw a FormatException exception if the string cannot be successfully parsed.

See Also

Project CorLib Overview

Class TimeSpanStatic Overview