C# Class System.IO.IsolatedStorage.IsolatedStorageFile

Inheritance: IsolatedStorage, IDisposable
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
ContainsUnknownFiles bool
EnsureStoreIsValid void
GetFullPath string
GetIsolatedStorageException System.Exception
GetStore IsolatedStorageFile
Initialize void
IsIdFile bool
IsInfoFile bool
IsMatchingScopeDirectory bool
IsolatedStorageFile
IsolatedStorageFile System.Collections
VerifyGlobalScope void

Public Methods

Method Description
Close ( ) : void
CopyFile ( string sourceFileName, string destinationFileName ) : void
CopyFile ( string sourceFileName, string destinationFileName, bool overwrite ) : void
CreateDirectory ( string dir ) : void
CreateFile ( string path ) : IsolatedStorageFileStream
CreateFile ( string path ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
DeleteDirectory ( string dir ) : void
DeleteFile ( string file ) : void
DirectoryExists ( string path ) : bool
Dispose ( ) : void
FileExists ( string path ) : bool
GetCreationTime ( string path ) : DateTimeOffset
GetCreationTime ( string path ) : System.DateTimeOffset
GetDirectoryNames ( ) : string[]
GetDirectoryNames ( string searchPattern ) : string[]
GetEnumerator ( IsolatedStorageScope scope ) : IEnumerator
GetEnumerator ( System scope ) : System.Collections.IEnumerator
GetFileNames ( ) : string[]
GetFileNames ( string searchPattern ) : string[]
GetLastAccessTime ( string path ) : DateTimeOffset
GetLastAccessTime ( string path ) : System.DateTimeOffset
GetLastWriteTime ( string path ) : DateTimeOffset
GetLastWriteTime ( string path ) : System.DateTimeOffset
GetMachineStoreForApplication ( ) : IsolatedStorageFile
GetMachineStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetMachineStoreForAssembly ( ) : IsolatedStorageFile
GetMachineStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetMachineStoreForDomain ( ) : IsolatedStorageFile
GetMachineStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetStore ( IsolatedStorageScope scope, Type applicationEvidenceType ) : IsolatedStorageFile
GetStore ( IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType ) : IsolatedStorageFile
GetStore ( IsolatedStorageScope scope, object applicationIdentity ) : IsolatedStorageFile
GetStore ( IsolatedStorageScope scope, object domainIdentity, object assemblyIdentity ) : IsolatedStorageFile
GetStore ( System scope, System applicationEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetStore ( System scope, System domainEvidenceType, System assemblyEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetStore ( System scope, object applicationIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetStore ( System scope, object domainIdentity, object assemblyIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetUserStoreForApplication ( ) : IsolatedStorageFile
GetUserStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetUserStoreForAssembly ( ) : IsolatedStorageFile
GetUserStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetUserStoreForDomain ( ) : IsolatedStorageFile
GetUserStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
GetUserStoreForSite ( ) : IsolatedStorageFile
GetUserStoreForSite ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
IncreaseQuotaTo ( long newQuotaSize ) : bool
MoveDirectory ( string sourceDirectoryName, string destinationDirectoryName ) : void
MoveFile ( string sourceFileName, string destinationFileName ) : void
OpenFile ( string path, FileMode mode ) : IsolatedStorageFileStream
OpenFile ( string path, FileMode mode, FileAccess access ) : IsolatedStorageFileStream
OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : IsolatedStorageFileStream
OpenFile ( string path, System mode ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
OpenFile ( string path, System mode, System access ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
OpenFile ( string path, System mode, System access, System share ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
Remove ( ) : void
Remove ( IsolatedStorageScope scope ) : void
Remove ( System scope ) : void

Private Methods

Method Description
ContainsUnknownFiles ( string directory ) : bool
EnsureStoreIsValid ( ) : void
GetFullPath ( string partialPath ) : string
GetIsolatedStorageException ( string exceptionMsg, Exception rootCause ) : Exception
GetStore ( IsolatedStorageScope scope ) : IsolatedStorageFile
Initialize ( IsolatedStorageScope scope ) : void
IsIdFile ( string file ) : bool
IsInfoFile ( string file ) : bool
IsMatchingScopeDirectory ( string directory ) : bool
IsolatedStorageFile ( )
IsolatedStorageFile ( ) : System.Collections
VerifyGlobalScope ( IsolatedStorageScope scope ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CopyFile() public method

public CopyFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
return void

CopyFile() public method

public CopyFile ( string sourceFileName, string destinationFileName, bool overwrite ) : void
sourceFileName string
destinationFileName string
overwrite bool
return void

CreateDirectory() public method

public CreateDirectory ( string dir ) : void
dir string
return void

CreateFile() public method

public CreateFile ( string path ) : IsolatedStorageFileStream
path string
return IsolatedStorageFileStream

CreateFile() public method

public CreateFile ( string path ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
return System.IO.IsolatedStorage.IsolatedStorageFileStream

DeleteDirectory() public method

public DeleteDirectory ( string dir ) : void
dir string
return void

DeleteFile() public method

public DeleteFile ( string file ) : void
file string
return void

DirectoryExists() public method

public DirectoryExists ( string path ) : bool
path string
return bool

Dispose() public method

public Dispose ( ) : void
return void

FileExists() public method

public FileExists ( string path ) : bool
path string
return bool

GetCreationTime() public method

public GetCreationTime ( string path ) : DateTimeOffset
path string
return DateTimeOffset

GetCreationTime() public method

public GetCreationTime ( string path ) : System.DateTimeOffset
path string
return System.DateTimeOffset

GetDirectoryNames() public method

public GetDirectoryNames ( ) : string[]
return string[]

GetDirectoryNames() public method

public GetDirectoryNames ( string searchPattern ) : string[]
searchPattern string
return string[]

GetEnumerator() public static method

public static GetEnumerator ( IsolatedStorageScope scope ) : IEnumerator
scope IsolatedStorageScope
return IEnumerator

GetEnumerator() public static method

public static GetEnumerator ( System scope ) : System.Collections.IEnumerator
scope System
return System.Collections.IEnumerator

GetFileNames() public method

public GetFileNames ( ) : string[]
return string[]

GetFileNames() public method

public GetFileNames ( string searchPattern ) : string[]
searchPattern string
return string[]

GetLastAccessTime() public method

public GetLastAccessTime ( string path ) : DateTimeOffset
path string
return DateTimeOffset

GetLastAccessTime() public method

public GetLastAccessTime ( string path ) : System.DateTimeOffset
path string
return System.DateTimeOffset

GetLastWriteTime() public method

public GetLastWriteTime ( string path ) : DateTimeOffset
path string
return DateTimeOffset

GetLastWriteTime() public method

public GetLastWriteTime ( string path ) : System.DateTimeOffset
path string
return System.DateTimeOffset

GetMachineStoreForApplication() public static method

public static GetMachineStoreForApplication ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetMachineStoreForApplication() public static method

public static GetMachineStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForAssembly() public static method

public static GetMachineStoreForAssembly ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetMachineStoreForAssembly() public static method

public static GetMachineStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForDomain() public static method

public static GetMachineStoreForDomain ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetMachineStoreForDomain() public static method

public static GetMachineStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static method

public static GetStore ( IsolatedStorageScope scope, Type applicationEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationEvidenceType Type
return IsolatedStorageFile

GetStore() public static method

public static GetStore ( IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
domainEvidenceType Type
assemblyEvidenceType Type
return IsolatedStorageFile

GetStore() public static method

public static GetStore ( IsolatedStorageScope scope, object applicationIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationIdentity object
return IsolatedStorageFile

GetStore() public static method

public static GetStore ( IsolatedStorageScope scope, object domainIdentity, object assemblyIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
domainIdentity object
assemblyIdentity object
return IsolatedStorageFile

GetStore() public static method

public static GetStore ( System scope, System applicationEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationEvidenceType System
return System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static method

public static GetStore ( System scope, System domainEvidenceType, System assemblyEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
domainEvidenceType System
assemblyEvidenceType System
return System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static method

public static GetStore ( System scope, object applicationIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationIdentity object
return System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static method

public static GetStore ( System scope, object domainIdentity, object assemblyIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
domainIdentity object
assemblyIdentity object
return System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForApplication() public static method

public static GetUserStoreForApplication ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetUserStoreForApplication() public static method

public static GetUserStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForAssembly() public static method

public static GetUserStoreForAssembly ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetUserStoreForAssembly() public static method

public static GetUserStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForDomain() public static method

public static GetUserStoreForDomain ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetUserStoreForDomain() public static method

public static GetUserStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForSite() public static method

public static GetUserStoreForSite ( ) : IsolatedStorageFile
return IsolatedStorageFile

GetUserStoreForSite() public static method

public static GetUserStoreForSite ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
return System.IO.IsolatedStorage.IsolatedStorageFile

IncreaseQuotaTo() public method

public IncreaseQuotaTo ( long newQuotaSize ) : bool
newQuotaSize long
return bool

MoveDirectory() public method

public MoveDirectory ( string sourceDirectoryName, string destinationDirectoryName ) : void
sourceDirectoryName string
destinationDirectoryName string
return void

MoveFile() public method

public MoveFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
return void

OpenFile() public method

public OpenFile ( string path, FileMode mode ) : IsolatedStorageFileStream
path string
mode FileMode
return IsolatedStorageFileStream

OpenFile() public method

public OpenFile ( string path, FileMode mode, FileAccess access ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
return IsolatedStorageFileStream

OpenFile() public method

public OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
share FileShare
return IsolatedStorageFileStream

OpenFile() public method

public OpenFile ( string path, System mode ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
return System.IO.IsolatedStorage.IsolatedStorageFileStream

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

OpenFile() public method

public OpenFile ( string path, System mode, System access, System share ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
access System
share System
return System.IO.IsolatedStorage.IsolatedStorageFileStream

Remove() public method

public Remove ( ) : void
return void

Remove() public static method

public static Remove ( IsolatedStorageScope scope ) : void
scope IsolatedStorageScope
return void

Remove() public static method

public static Remove ( System scope ) : void
scope System
return void