.NET Framework Class Library for Silverlight
IsolatedStorageFileStream Class

Exposes a file within isolated storage.

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

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

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.

Examples

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

Inheritance Hierarchy

System..::.Object
  System.IO..::.Stream
    System.IO..::.FileStream
      System.IO.IsolatedStorage..::.IsolatedStorageFileStream
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Tags :


Page view tracker