Edytuj

Udostępnij za pośrednictwem


XmlDictionaryReader.ReadArray Method

Definition

Reads repeated occurrences of a data type into a typed array.

Overloads

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

Reads repeated occurrences of float numbers into a typed array.

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

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)

Reads repeated occurrences of short integers into a typed array.

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

Reads repeated occurrences of Guid nodes into a typed array.

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

Reads repeated occurrences of Double nodes type into a typed array.

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

Reads repeated occurrences of Decimal nodes into a typed array.

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

Reads repeated occurrences of DateTime nodes into a typed array.

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

Reads repeated occurrences of Boolean nodes into a typed array.

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

Reads repeated occurrences of TimeSpan nodes into a typed array.

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

Reads repeated occurrences of float numbers into a typed array.

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

Reads repeated occurrences of TimeSpan nodes into a typed array.

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

Reads repeated occurrences of DateTime nodes into a typed array.

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

Reads repeated occurrences of Decimal nodes into a typed array.

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

Reads repeated occurrences of Double nodes into a typed array.

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

Reads repeated occurrences of Boolean nodes into a typed array.

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

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)

Reads repeated occurrences of long integers into a typed array.

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

Reads repeated occurrences of Guid nodes into a typed array.

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of float numbers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The umber of float numbers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of integers put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to

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

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

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

Parameters

localName
String

The local name of the element.

namespaceUri
String

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.

Returns

The number of nodes put in the array.

Exceptions

array is null.

offset is < 0 or > array length.

-or-

count is < 0 or > array length minus offset.

Applies to