Printer Friendly Version      Send     
Click to Rate and Give Feedback
.NET Framework Class Library for Silverlight
IsolatedStorageFileStream Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Exposes a file within isolated storage.

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

Visual Basic (Declaration)
<ComVisibleAttribute(True)> _
Public Class IsolatedStorageFileStream _
    Inherits FileStream
Visual Basic (Usage)
Dim instance As IsolatedStorageFileStream
C#
[ComVisibleAttribute(true)]
public class IsolatedStorageFileStream : FileStream
Visual C++
[ComVisibleAttribute(true)]
public ref class IsolatedStorageFileStream : public FileStream
JScript
public class IsolatedStorageFileStream extends FileStream

Use this class to read, write and create files in isolated storage.

Since this class extends FileStream, you can use an instance of IsolatedStorageFileStream in most situations where a FileStream might otherwise be used, such as to construct a StreamReader or StreamWriter.

The following example uses a StreamReader object to read an IsolatedStorageFileStream that is obtained from an isolated storage file.

System..::.Object
  System.IO..::.Stream
    System.IO..::.FileStream
      System.IO.IsolatedStorage..::.IsolatedStorageFileStream
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker