NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IsolatedStorageFileStream Constructor

[To be supplied.]

Overload List

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode. Mode indicates if a new file should be created, an existing one used, and so forth.

[Visual Basic] Overloads Public Sub New(String, FileMode)
[C#] public IsolatedStorageFileStream(String, FileMode);
[C++] public: IsolatedStorageFileStream(String*, FileMode);
[JScript] public function IsolatedStorageFileStream(String, FileMode);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode in the context of the isolated storage specified. Mode indicates if a new file should be created, an existing one used, and so forth.

[Visual Basic] Overloads Public Sub New(String, FileMode, IsolatedStorageFile)
[C#] public IsolatedStorageFileStream(String, FileMode, IsolatedStorageFile);
[C++] public: IsolatedStorageFileStream(String*, FileMode, IsolatedStorageFile);
[JScript] public function IsolatedStorageFileStream(String, FileMode, IsolatedStorageFile);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode, with the kind of access requested. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess, IsolatedStorageFile)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess, IsolatedStorageFile);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess, IsolatedStorageFile);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess, IsolatedStorageFile);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode (read-only, etc.). Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess, FileShare)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess, FileShare);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess, FileShare, IsolatedStorageFile)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess, FileShare, IsolatedStorageFile);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode, access, and share option, with buffer size specified. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess, FileShare, Integer)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, int);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess, FileShare, int);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, int);

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode, access, and share option, with buffer size specified, in a given isolated storage context. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic] Overloads Public Sub New(String, FileMode, FileAccess, FileShare, Integer, IsolatedStorageFile)
[C#] public IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, int, IsolatedStorageFile);
[C++] public: IsolatedStorageFileStream(String*, FileMode, FileAccess, FileShare, int, IsolatedStorageFile);
[JScript] public function IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, int, IsolatedStorageFile);

Requirements

NGWS Runtime Security:

IsolatedStorage code must have isolated storage access

See Also

IsolatedStorageFileStream Class | IsolatedStorageFileStream Members | System.IO.IsolatedStorage Namespace