Share via


HtmlReader.ReadText Method

The ReadText([], Int32, Int32) method reads the text of an HTML token.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function ReadText ( _
    buffer As Char(), _
    offset As Integer, _
    count As Integer _
) As Integer
'Usage
Dim instance As HtmlReader
Dim buffer As Char()
Dim offset As Integer
Dim count As Integer
Dim returnValue As Integer

returnValue = instance.ReadText(buffer, _
    offset, count)
public int ReadText(
    char[] buffer,
    int offset,
    int count
)

Parameters

  • buffer
    Type: []
    The character array that will receive the incoming characters.
  • offset
    Type: System.Int32
    The starting location in the input data to start reading.
  • count
    Type: System.Int32
    The number of characters to read from the input stream.

Return Value

Type: System.Int32
The ReadText([], Int32, Int32) method returns the number of characters successfully read from the input stream.