Summary
Constructs a
System.TimeSpan
from a time indicated by a
specified string.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- Time
Span Conversion Functions
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.
|