Partager via


TnefPropertyReader.ReadTextValue Method

The ReadTextValue method reads the current attribute value.

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

Syntax

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

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

Parameters

  • buffer
    Type: []
    When this method returns, it contains the specified character array with the values between index and (offset + count - 1) replaced by the characters read from the current source.
  • offset
    Type: System.Int32
    The place in buffer at which to begin writing.
  • count
    Type: System.Int32
    The maximum number of characters to read. If the end of the stream is reached before count of characters is read into buffer, the current method returns.

Return Value

Type: System.Int32