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
public int ReadRawValue (
    byte[] buffer,
    int offset,
    int count
)
public:
int ReadRawValue (
    array<unsigned char>^ buffer, 
    int offset, 
    int count
)
public int ReadRawValue (
    byte[] buffer, 
    int offset, 
    int count
)
public function ReadRawValue (
    buffer : byte[], 
    offset : int, 
    count : int
) : int

Parameters

  • buffer
    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
    The place in buffer at which to begin writing.
  • count
    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

The ReadRawValue method returns the number of characters read.

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 XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003