Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IsolatedStorageFileStream.Write Method

Writes a block of bytes to the IsolatedStorageFileStream object using data read from a byte array.

Namespace:  System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

public override void Write(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: System.Byte[]

The buffer to write.

offset
Type: System.Int32

The byte offset in buffer from which to begin.

count
Type: System.Int32

The maximum number of bytes to write.

ExceptionCondition
IsolatedStorageException

The write attempt exceeds the quota for the IsolatedStorageFileStream object.

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 object. If the write operation is successful, the current position of the IsolatedStorageFileStream object is advanced by the number of bytes written. If an exception occurs, the current position of the IsolatedStorageFileStream object is unchanged.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Community Additions

Show:
© 2014 Microsoft