XmlDictionaryReader.ReadTimeSpanArray XmlDictionaryReader.ReadTimeSpanArray XmlDictionaryReader.ReadTimeSpanArray XmlDictionaryReader.ReadTimeSpanArray Method

定义

将一系列节点的内容读入 TimeSpan 数组。Reads the contents of a series of nodes into a TimeSpan array.

重载

ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.

ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.

ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String) ReadTimeSpanArray(String, String)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。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()

参数

localName
String String String String

元素的本地名称。The local name of the element.

namespaceUri
String String String String

元素的命名空间 URI。The namespace URI of the element.

返回

TimeSpan 数组。A TimeSpan array.

注解

由此读取操作分配的缓冲区受 MaxArrayLength 配额的限制。The buffer allocated by this read operation is limited by the MaxArrayLength quota.

ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString)

将具有给定 localNamenamespaceUri 的一系列节点的内容读入 TimeSpan 数组。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()

参数

localName
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的本地名称。The local name of the element.

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

元素的命名空间 URI。The namespace URI of the element.

返回

TimeSpan 数组。A TimeSpan array.

注解

由此读取操作分配的缓冲区受 MaxArrayLength 配额的限制。The buffer allocated by this read operation is limited by the MaxArrayLength quota.

适用于