System.IO.IsolatedStorage.IsolatedStorageFileStream Members

The members of System.IO.IsolatedStorage.IsolatedStorageFileStream are listed below.

See Also: Inherited members from System.IO.FileStream

Public Constructors

Initializes a new instance of an System.IO.IsolatedStorage.IsolatedStorageFileStream object giving access to the file designated by path in the specified mode.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, with the kind of access requested.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, and in the context of the System.IO.IsolatedStorage.IsolatedStorageFile specified by isf.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, with the specified file access, using the file sharing mode specified by share.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path in the specified mode, with the specified file access, and in the context of the System.IO.IsolatedStorage.IsolatedStorageFile specified by isf.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, with the specified file access, using the file sharing mode specified by share, with the buffersize specified.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, with the specified file access, using the file sharing mode specified by share, and in the context of the System.IO.IsolatedStorage.IsolatedStorageFile specified by isf.

Initializes a new instance of the System.IO.IsolatedStorage.IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, with the specified file access, using the file sharing mode specified by share, with the buffersize specified, and in the context of the System.IO.IsolatedStorage.IsolatedStorageFile specified by isf.

Public Properties

[read-only]
override
CanReadbool.

Gets a Boolean value indicating whether the file can be read.

[read-only]
override
CanSeekbool.

Gets a Boolean value indicating whether seek operations are supported.

[read-only]
override
CanWritebool.

Gets a Boolean value indicating whether you can write to the file.

[read-only]
override
HandleIntPtr.

Gets the file handle for the file that the current System.IO.IsolatedStorage.IsolatedStorageFileStream object encapsulates. Accessing this property is not permitted on an System.IO.IsolatedStorage.IsolatedStorageFileStream object, and throws an System.IO.IsolatedStorage.IsolatedStorageException.

[read-only]
override
IsAsyncbool.

Gets a Boolean value indicating whether the System.IO.IsolatedStorage.IsolatedStorageFileStream object was opened asynchronously or synchronously.

[read-only]
override
Lengthlong.

Gets the length of the System.IO.IsolatedStorage.IsolatedStorageFileStream object.

override
Positionlong.

Gets or sets the current position of the current System.IO.IsolatedStorage.IsolatedStorageFileStream object.

[read-only]
override
SafeFileHandleMicrosoft.Win32.SafeHandles.SafeFileHandle.

Gets a Microsoft.Win32.SafeHandles.SafeFileHandle object that represents the operating system file handle for the file that the current System.IO.IsolatedStorage.IsolatedStorageFileStream object encapsulates.

Public Methods

override
BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous read.

override
BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous write.

override
Close()
Documentation for this section has not yet been entered.
override
EndRead(IAsyncResult) : int

Ends a pending asynchronous read request.

override
EndWrite(IAsyncResult)

Ends an asynchronous write.

override
Flush()

Clears buffers for this stream and causes any buffered data to be written to the file.

override
Flush(bool)

Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.

override
Read(byte[], int, int) : int

Copies bytes from the current buffered System.IO.IsolatedStorage.IsolatedStorageFileStream object to an array.

override
ReadByte() : int

Reads a single byte from the System.IO.IsolatedStorage.IsolatedStorageFileStream object in isolated storage.

override
Seek(long, System.IO.SeekOrigin) : long

Sets the current position of this System.IO.IsolatedStorage.IsolatedStorageFileStream object to the specified value.

override
SetLength(long)

Sets the length of this System.IO.IsolatedStorage.IsolatedStorageFileStream object to the specified value.

override
Write(byte[], int, int)

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

override
WriteByte(byte)

Writes a single byte to the System.IO.IsolatedStorage.IsolatedStorageFileStream object.

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the System.IO.IsolatedStorage.IsolatedStorageFileStream and optionally releases the managed resources.