MimeReader.ReadContent Method
The ReadContent method reads at most count bytes into buffer, starting at offset bytes.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Function ReadContent ( _
buffer As Byte(), _
offset As Integer, _
count As Integer _
) As Integer
public int ReadContent (
byte[] buffer,
int offset,
int count
)
public:
int ReadContent (
array<unsigned char>^ buffer,
int offset,
int count
)
public int ReadContent (
byte[] buffer,
int offset,
int count
)
public function ReadContent (
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 ReadContent 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