XmlDictionaryReader.ReadTimeSpanArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) |
Reads the contents of a series of nodes with the given |
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.