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
)

Parameters

localName
Type: System.Xml.XmlDictionaryString
The local name of the element.
namespaceUri
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 Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft