Edit

Share via


DelegatingXmlDictionaryReader.ReadValueChunk(Char[], Int32, Int32) Method

Definition

Reads large streams of text embedded in an XML document.

public:
 override int ReadValueChunk(cli::array <char> ^ buffer, int index, int count);
public override int ReadValueChunk (char[] buffer, int index, int count);
override this.ReadValueChunk : char[] * int * int -> int
Public Overrides Function ReadValueChunk (buffer As Char(), index As Integer, count As Integer) As Integer

Parameters

buffer
Char[]

The array of characters that serves as the buffer to which the text contents are written. This value cannot be null.

index
Int32

The offset within the buffer where the System.Xml.XmlReader can start to copy the results.

count
Int32

The maximum number of characters to copy into the buffer. The actual number of characters copied is returned from this method.

Returns

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

Applies to