Share via


TnefPropertyReader.ReadRawValue method

The ReadRawValue method reads the raw value of 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 ReadRawValue ( _
    buffer As Byte(), _
    offset As Integer, _
    count As Integer _
) As Integer
'Usage
Dim instance As TnefPropertyReader
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer
Dim returnValue As Integer

returnValue = instance.ReadRawValue(buffer, _
    offset, count)
public int ReadRawValue(
    byte[] buffer,
    int offset,
    int count
)

Parameters

  • buffer
    Type: []

    When this method returns, it contains the specified byte 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
The ReadRawValue method returns the number of characters read.

See also

Reference

TnefPropertyReader structure

TnefPropertyReader members

Microsoft.Exchange.Data.ContentTypes.Tnef namespace