System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile C# (CSharp) Method

OpenFile() public method

public OpenFile ( string path, System mode, System access ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
access System
return System.IO.IsolatedStorage.IsolatedStorageFileStream
        public System.IO.IsolatedStorage.IsolatedStorageFileStream OpenFile(string path, System.IO.FileMode mode, System.IO.FileAccess access) { throw null; }
        public System.IO.IsolatedStorage.IsolatedStorageFileStream OpenFile(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; }

Same methods

IsolatedStorageFile::OpenFile ( string path, FileMode mode ) : IsolatedStorageFileStream
IsolatedStorageFile::OpenFile ( string path, FileMode mode, FileAccess access ) : IsolatedStorageFileStream
IsolatedStorageFile::OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : IsolatedStorageFileStream
IsolatedStorageFile::OpenFile ( string path, System mode ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
IsolatedStorageFile::OpenFile ( string path, System mode, System access, System share ) : System.IO.IsolatedStorage.IsolatedStorageFileStream

Usage Example

Esempio n. 1
0
 public IsolatedStorageTracer()
 {
     _storageFile = IsolatedStorageFile.GetUserStoreForApplication();
     _storageFileStream = _storageFile.OpenFile("MagellanTrace.log", FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite);
     _streamWriter = new StreamWriter(_storageFileStream);
     _streamWriter.AutoFlush = true;
 }
All Usage Examples Of System.IO.IsolatedStorage.IsolatedStorageFile::OpenFile