Reads large streams of text embedded in an XML document.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryReader
Dim buffer As Char()
Dim index As Integer
Dim count As Integer
Dim returnValue As Integer

returnValue = instance.ReadValueChunk(buffer, index, count)

Syntax

Visual Basic
Public Overrides Function ReadValueChunk ( _
		buffer As Char(), _
		index As Integer, _
		count As Integer _
) As Integer
C#
public override int ReadValueChunk (
		char[] buffer,
		int index,
		int count
)
C++
public:
virtual int ReadValueChunk (
		array<wchar_t>^ buffer, 
		int index, 
		int count
) override
J#
public int ReadValueChunk (
		char[] buffer, 
		int index, 
		int count
)
JScript
public override function ReadValueChunk (
		buffer : char[], 
		index : int, 
		count : int
) : int

Parameters

buffer

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

index

The offset within the buffer where the System.Xml.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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also