TnefReader.ReadAttributeRawValue method

The ReadAttributeRawValue method reads an undecoded attribute value from the TNEF stream that this TnefReader object owns.

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

Syntax

'Declaration
Public Function ReadAttributeRawValue ( _
    buffer As Byte(), _
    offset As Integer, _
    count As Integer _
) As Integer
'Usage
Dim instance As TnefReader
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer
Dim returnValue As Integer

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

Parameters

  • buffer
    Type: []

    When this method returns, it contains the specified character array with the values between index and (index + 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

See also

Reference

TnefReader class

TnefReader members

Microsoft.Exchange.Data.ContentTypes.Tnef namespace