Writes a block of bytes to the IsolatedStorageFileStream using data read from a byte array.
[Visual Basic] Overrides Public Sub Write( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ ) [C#] public override void Write( byte buffer, int offset, int count ); [C++] public: void Write( unsigned char buffer __gc, int offset, int count ); [JScript] public override function Write( buffer : Byte, offset : int, count : int );
- The buffer to write.
- The byte offset in buffer from which to begin.
- The maximum number of bytes to write.
|IsolatedStorageException||The write attempt exceeds the quota for the IsolatedStorageFileStream.|
The offset parameter gives the offset of the byte in the buffer at which to begin reading, and the count parameter gives the number of bytes that will be written to this IsolatedStorageFileStream. If the write operation is successful, the current position of the IsolatedStorageFileStream is advanced by the number of bytes written. If an exception occurs, the current position of the IsolatedStorageFileStream is unchanged.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family