ToTimeSpan()
XmlConvert::ToTimeSpan(const String&) method
Converts the String to a TimeSpan equivalent.
static TimeSpan System::Xml::XmlConvert::ToTimeSpan(const String &s)
Arguments
Parameter | Type | Description |
---|---|---|
s | const String& | The string to convert. The string format must conform to the W3C XML Schema Part 2: Datatypes recommendation for duration. |
Return Value
A TimeSpan equivalent of the string.
See Also
- Class TimeSpan
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides