Reads the value and returns it as a TimeSpan.
[Visual Basic] Overridable Public Function ReadTimeSpan() As TimeSpan [C#] public virtual TimeSpan ReadTimeSpan(); [C++] public: virtual TimeSpan ReadTimeSpan(); [JScript] public function ReadTimeSpan() : TimeSpan;
The value as a TimeSpan.
Exception Type | Condition |
---|---|
FormatException | Value cannot be converted to TimeSpan. |
XmlReader Class | XmlReader Members | System.NewXml Namespace