This documentation is archived and is not being maintained.

XmlDictionaryReader.ReadArray Method (XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32)

Reads repeated occurrences of Guid nodes into a typed array.

Namespace: System.Xml
Assembly: System.Runtime.Serialization (in system.runtime.serialization.dll)

Public Overridable Function ReadArray ( _
	localName As XmlDictionaryString, _
	namespaceUri As XmlDictionaryString, _
	array As Guid(), _
	offset As Integer, _
	count As Integer _
) As Integer
Dim instance As XmlDictionaryReader
Dim localName As XmlDictionaryString
Dim namespaceUri As XmlDictionaryString
Dim array As Guid()
Dim offset As Integer
Dim count As Integer
Dim returnValue As Integer

returnValue = instance.ReadArray(localName, namespaceUri, array, offset, count)
public int ReadArray (
	XmlDictionaryString localName, 
	XmlDictionaryString namespaceUri, 
	Guid[] array, 
	int offset, 
	int count
public function ReadArray (
	localName : XmlDictionaryString, 
	namespaceUri : XmlDictionaryString, 
	array : Guid[], 
	offset : int, 
	count : int
) : int
Not applicable.



The local name of the element.


The namespace URI of the element.


The array into which the nodes are put.


The starting index in the array.


The number of nodes to put in the array.

Return Value

The number of nodes put in the array.

Exception typeCondition


array is a null reference (Nothing in Visual Basic).


offset is < 0 or > array length.


count is < 0 or > array length minus offset.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0