Redigera

Dela via


XmlDictionaryReader.ReadTimeSpanArray Method

Definition

Reads the contents of a series of nodes into a TimeSpan array.

Overloads

ReadTimeSpanArray(String, String)

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

ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString)

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

ReadTimeSpanArray(String, String)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public:
 virtual cli::array <TimeSpan> ^ ReadTimeSpanArray(System::String ^ localName, System::String ^ namespaceUri);
public virtual TimeSpan[] ReadTimeSpanArray (string localName, string namespaceUri);
abstract member ReadTimeSpanArray : string * string -> TimeSpan[]
override this.ReadTimeSpanArray : string * string -> TimeSpan[]
Public Overridable Function ReadTimeSpanArray (localName As String, namespaceUri As String) As TimeSpan()

Parameters

localName
String

The local name of the element.

namespaceUri
String

The namespace URI of the element.

Returns

A TimeSpan array.

Remarks

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

Applies to

ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public:
 virtual cli::array <TimeSpan> ^ ReadTimeSpanArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual TimeSpan[] ReadTimeSpanArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
abstract member ReadTimeSpanArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> TimeSpan[]
override this.ReadTimeSpanArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> TimeSpan[]
Public Overridable Function ReadTimeSpanArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString) As TimeSpan()

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

Returns

A TimeSpan array.

Remarks

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

Applies to