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

CreateFile() public method

public CreateFile ( string path ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
return System.IO.IsolatedStorage.IsolatedStorageFileStream
        public System.IO.IsolatedStorage.IsolatedStorageFileStream CreateFile(string path) { throw null; }
        public void DeleteDirectory(string dir) { }

Same methods

IsolatedStorageFile::CreateFile ( string path ) : IsolatedStorageFileStream

Usage Example

示例#1
0
 public void CreateFile_RaisesArgumentException()
 {
     using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())
     {
         AssertExtensions.Throws <ArgumentException>("path", null, () => isf.CreateFile("\0bad"));
     }
 }
All Usage Examples Of System.IO.IsolatedStorage.IsolatedStorageFile::CreateFile