Share via


XmlReader.ReadValueChunk Method

Reads large streams of text embedded in an XML document.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual int ReadValueChunk (
         char[] buffer,
         intindex,
         intcount
)

Parameters

  • buffer
    The array of characters that serves as the buffer to which the text contents are written. This value cannot be a null reference.
  • index
    The offset within the buffer where the XmlReader can start to copy the results.
  • count
    The maximum number of characters to copy into the buffer. The actual number of characters copied is returned from this method.

Return Value

The number of characters read into the buffer. The value zero is returned when there is no more text content.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace