TimeSpanConversionFunctions.

Parse(string) Method

Summary

Constructs a System.TimeSpan from a time indicated by a specified string.

Syntax

[Function("parse")]
public static TimeSpan Parse(string s)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
s string A string.

Return Value

Type Description
TimeSpan A System.TimeSpan that corresponds to s.