次の方法で共有


MimeReader.ReadRawContent Method

The ReadRawContent method reads at most count bytes into buffer, without decoding them, starting at offset bytes.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Function ReadRawContent ( _
    buffer As Byte(), _
    offset As Integer, _
    count As Integer _
) As Integer
public int ReadRawContent (
    byte[] buffer,
    int offset,
    int count
)
public:
int ReadRawContent (
    array<unsigned char>^ buffer, 
    int offset, 
    int count
)
public int ReadRawContent (
    byte[] buffer, 
    int offset, 
    int count
)
public function ReadRawContent (
    buffer : byte[], 
    offset : int, 
    count : int
) : int

Parameters

  • buffer
    The byte array to write data into.
  • offset
    The number of bytes into buffer to begin writing data.
  • count
    The number of bytes to try to read into buffer.

Return Value

The return value for the ReadRawContent method is the number of bytes that are actually written. This value may be less than the number of bytes that is specified by count if, for example, there are fewer than count bytes left between the current position and the end of the current part.

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