NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlReader.ReadTimeSpan

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;

Return Value

The value as a TimeSpan.

Exceptions

Exception Type Condition
FormatException Value cannot be converted to TimeSpan.

See Also

XmlReader Class | XmlReader Members | System.NewXml Namespace