ReadTimeSpanArray Method (XmlDictionaryString, XmlDictionaryString)

XmlDictionaryReader.ReadTimeSpanArray Method (XmlDictionaryString, XmlDictionaryString)

Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public virtual TimeSpan[] ReadTimeSpanArray(
	XmlDictionaryString localName,
	XmlDictionaryString namespaceUri


Type: System.Xml.XmlDictionaryString

The local name of the element.

Type: System.Xml.XmlDictionaryString

The namespace URI of the element.

Return Value

Type: System.TimeSpan[]
A TimeSpan array.

The buffer allocated by this read operation is limited by the MaxArrayLength quota.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft