ReadValueChunk()

XmlReader::ReadValueChunk(ArrayPtr<char16_t>, int32_t, int32_t) method

Reads large streams of text embedded in an XML document.

virtual int32_t System::Xml::XmlReader::ReadValueChunk(ArrayPtr<char16_t> buffer, int32_t index, int32_t count)

Arguments

ParameterTypeDescription
bufferArrayPtr<char16_t>The array of characters that serves as the buffer to which the text contents are written. This value cannot be nullptr.
indexint32_tThe offset within the buffer where the XmlReader can start to copy the results.
countint32_tThe 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.

See Also