XmlDictionaryReader.ReadArray 方法

定义

将重复出现的数据类型读入类型化数组。Reads repeated occurrences of a data type into a typed array.

重载

ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

将重复出现的 Double 节点类型读入类型化数组。Reads repeated occurrences of Double nodes type into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

ReadArray(String, String, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

ReadArray(String, String, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

ReadArray(String, String, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

ReadArray(String, String, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

ReadArray(String, String, Double[], Int32, Int32)

将重复出现的 Double 节点读入类型化数组。Reads repeated occurrences of Double nodes into a typed array.

ReadArray(String, String, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

ReadArray(String, String, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

ReadArray(String, String, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

ReadArray(String, String, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

ReadArray(String, String, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

ReadArray(XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <float> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, float[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * single[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * single[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Single(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Single[]

向其中放入浮点数的数组。The array into which the float numbers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的浮点数个数。The number of float numbers to put in the array.

返回

放入数组中的浮点数个数。The number of float numbers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <long> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, long[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int64[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int64[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Long(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Int64[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

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

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Int32[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <short> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, short[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int16[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * int16[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Short(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Int16[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <Guid> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, Guid[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * Guid[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * Guid[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Guid(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Guid[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32)

将重复出现的 Double 节点类型读入类型化数组。Reads repeated occurrences of Double nodes type into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <double> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, double[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * double[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * double[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Double(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Double[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <System::Decimal> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, decimal[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * decimal[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * decimal[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Decimal(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Decimal[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <DateTime> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * DateTime[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * DateTime[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As DateTime(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
DateTime[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

public:
 virtual int ReadArray(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, cli::array <bool> ^ array, int offset, int count);
public virtual int ReadArray (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, bool[] array, int offset, int count);
abstract member ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * bool[] * int * int -> int
override this.ReadArray : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * bool[] * int * int -> int
Public Overridable Function ReadArray (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, array As Boolean(), offset As Integer, count As Integer) As Integer

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
Boolean[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

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

参数

localName
XmlDictionaryString

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

namespaceUri
XmlDictionaryString

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

array
TimeSpan[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Single[], Int32, Int32)

将重复出现的 float 数读入类型化数组。Reads repeated occurrences of float numbers into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <float> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, float[] array, int offset, int count);
abstract member ReadArray : string * string * single[] * int * int -> int
override this.ReadArray : string * string * single[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Single(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Single[]

向其中放入浮点数的数组。The array into which the float numbers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的浮点数个数。The number of float numbers to put in the array.

返回

放入数组中的浮点数个数。The umber of float numbers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, TimeSpan[], Int32, Int32)

将重复出现的 TimeSpan 节点读入类型化数组。Reads repeated occurrences of TimeSpan nodes into a typed array.

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

参数

localName
String

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

namespaceUri
String

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

array
TimeSpan[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, DateTime[], Int32, Int32)

将重复出现的 DateTime 节点读入类型化数组。Reads repeated occurrences of DateTime nodes into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <DateTime> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, DateTime[] array, int offset, int count);
abstract member ReadArray : string * string * DateTime[] * int * int -> int
override this.ReadArray : string * string * DateTime[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As DateTime(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
DateTime[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Decimal[], Int32, Int32)

将重复出现的 Decimal 节点读入类型化数组。Reads repeated occurrences of Decimal nodes into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <System::Decimal> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, decimal[] array, int offset, int count);
abstract member ReadArray : string * string * decimal[] * int * int -> int
override this.ReadArray : string * string * decimal[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Decimal(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Decimal[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Double[], Int32, Int32)

将重复出现的 Double 节点读入类型化数组。Reads repeated occurrences of Double nodes into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <double> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, double[] array, int offset, int count);
abstract member ReadArray : string * string * double[] * int * int -> int
override this.ReadArray : string * string * double[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Double(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Double[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Boolean[], Int32, Int32)

将重复出现的 Boolean 节点读入类型化数组。Reads repeated occurrences of Boolean nodes into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <bool> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, bool[] array, int offset, int count);
abstract member ReadArray : string * string * bool[] * int * int -> int
override this.ReadArray : string * string * bool[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Boolean(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Boolean[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Int16[], Int32, Int32)

将重复出现的 short 整数读入类型化数组。Reads repeated occurrences of short integers into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <short> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, short[] array, int offset, int count);
abstract member ReadArray : string * string * int16[] * int * int -> int
override this.ReadArray : string * string * int16[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Short(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Int16[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Int32[], Int32, Int32)

将重复出现的整数读入类型化数组。Reads repeated occurrences of integers into a typed array.

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

参数

localName
String

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

namespaceUri
String

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

array
Int32[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Int64[], Int32, Int32)

将重复出现的 long 整数读入类型化数组。Reads repeated occurrences of long integers into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <long> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, long[] array, int offset, int count);
abstract member ReadArray : string * string * int64[] * int * int -> int
override this.ReadArray : string * string * int64[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Long(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Int64[]

向其中放入整数的数组。The array into which the integers are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的整数个数。The number of integers to put in the array.

返回

放入数组中的整数个数。The number of integers put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

-or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

ReadArray(String, String, Guid[], Int32, Int32)

将重复出现的 Guid 节点读入类型化数组。Reads repeated occurrences of Guid nodes into a typed array.

public:
 virtual int ReadArray(System::String ^ localName, System::String ^ namespaceUri, cli::array <Guid> ^ array, int offset, int count);
public virtual int ReadArray (string localName, string namespaceUri, Guid[] array, int offset, int count);
abstract member ReadArray : string * string * Guid[] * int * int -> int
override this.ReadArray : string * string * Guid[] * int * int -> int
Public Overridable Function ReadArray (localName As String, namespaceUri As String, array As Guid(), offset As Integer, count As Integer) As Integer

参数

localName
String

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

namespaceUri
String

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

array
Guid[]

向其中放入节点的数组。The array into which the nodes are put.

offset
Int32

数组中的起始索引。The starting index in the array.

count
Int32

要放入数组中的节点个数。The number of nodes to put in the array.

返回

放入数组中的节点个数。The number of nodes put in the array.

异常

arraynullarray is null.

offset < 0 或 > array 长度。offset is < 0 or > array length.

- 或 --or-

count 为 < 0 或 > array 长度减去 offsetcount is < 0 or > array length minus offset.

适用于