Parameters
- buffer
- An array of bytes to which data read from the current item will be written.
Return Value
Returns the actual number of bytes written to the specified buffer, or 0 if the end of the item's data has been reached.
The method writes data read starting at offset 0 in the specified buffer.
The method attempts to read a size of buffer.Length bytes from the current item's data.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2