C# Class System.IO.IsolatedStorage.IsolatedStorageFile

Inheritance: IsolatedStorage, IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Close ( ) : void
Résultat void

CopyFile() public méthode

public CopyFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
Résultat void

CopyFile() public méthode

public CopyFile ( string sourceFileName, string destinationFileName, bool overwrite ) : void
sourceFileName string
destinationFileName string
overwrite bool
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( string dir ) : void
dir string
Résultat void

CreateFile() public méthode

public CreateFile ( string path ) : IsolatedStorageFileStream
path string
Résultat IsolatedStorageFileStream

CreateFile() public méthode

public CreateFile ( string path ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
Résultat System.IO.IsolatedStorage.IsolatedStorageFileStream

DeleteDirectory() public méthode

public DeleteDirectory ( string dir ) : void
dir string
Résultat void

DeleteFile() public méthode

public DeleteFile ( string file ) : void
file string
Résultat void

DirectoryExists() public méthode

public DirectoryExists ( string path ) : bool
path string
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FileExists() public méthode

public FileExists ( string path ) : bool
path string
Résultat bool

GetCreationTime() public méthode

public GetCreationTime ( string path ) : DateTimeOffset
path string
Résultat DateTimeOffset

GetCreationTime() public méthode

public GetCreationTime ( string path ) : System.DateTimeOffset
path string
Résultat System.DateTimeOffset

GetDirectoryNames() public méthode

public GetDirectoryNames ( ) : string[]
Résultat string[]

GetDirectoryNames() public méthode

public GetDirectoryNames ( string searchPattern ) : string[]
searchPattern string
Résultat string[]

GetEnumerator() public static méthode

public static GetEnumerator ( IsolatedStorageScope scope ) : IEnumerator
scope IsolatedStorageScope
Résultat IEnumerator

GetEnumerator() public static méthode

public static GetEnumerator ( System scope ) : System.Collections.IEnumerator
scope System
Résultat System.Collections.IEnumerator

GetFileNames() public méthode

public GetFileNames ( ) : string[]
Résultat string[]

GetFileNames() public méthode

public GetFileNames ( string searchPattern ) : string[]
searchPattern string
Résultat string[]

GetLastAccessTime() public méthode

public GetLastAccessTime ( string path ) : DateTimeOffset
path string
Résultat DateTimeOffset

GetLastAccessTime() public méthode

public GetLastAccessTime ( string path ) : System.DateTimeOffset
path string
Résultat System.DateTimeOffset

GetLastWriteTime() public méthode

public GetLastWriteTime ( string path ) : DateTimeOffset
path string
Résultat DateTimeOffset

GetLastWriteTime() public méthode

public GetLastWriteTime ( string path ) : System.DateTimeOffset
path string
Résultat System.DateTimeOffset

GetMachineStoreForApplication() public static méthode

public static GetMachineStoreForApplication ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetMachineStoreForApplication() public static méthode

public static GetMachineStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForAssembly() public static méthode

public static GetMachineStoreForAssembly ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetMachineStoreForAssembly() public static méthode

public static GetMachineStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForDomain() public static méthode

public static GetMachineStoreForDomain ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetMachineStoreForDomain() public static méthode

public static GetMachineStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( IsolatedStorageScope scope, Type applicationEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationEvidenceType Type
Résultat IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
domainEvidenceType Type
assemblyEvidenceType Type
Résultat IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( IsolatedStorageScope scope, object applicationIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationIdentity object
Résultat IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( IsolatedStorageScope scope, object domainIdentity, object assemblyIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
domainIdentity object
assemblyIdentity object
Résultat IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( System scope, System applicationEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationEvidenceType System
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( System scope, System domainEvidenceType, System assemblyEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
domainEvidenceType System
assemblyEvidenceType System
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static méthode

public static GetStore ( System scope, object applicationIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationIdentity object
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() public static méthode

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

GetUserStoreForApplication() public static méthode

public static GetUserStoreForApplication ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetUserStoreForApplication() public static méthode

public static GetUserStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForAssembly() public static méthode

public static GetUserStoreForAssembly ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetUserStoreForAssembly() public static méthode

public static GetUserStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForDomain() public static méthode

public static GetUserStoreForDomain ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetUserStoreForDomain() public static méthode

public static GetUserStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForSite() public static méthode

public static GetUserStoreForSite ( ) : IsolatedStorageFile
Résultat IsolatedStorageFile

GetUserStoreForSite() public static méthode

public static GetUserStoreForSite ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Résultat System.IO.IsolatedStorage.IsolatedStorageFile

IncreaseQuotaTo() public méthode

public IncreaseQuotaTo ( long newQuotaSize ) : bool
newQuotaSize long
Résultat bool

MoveDirectory() public méthode

public MoveDirectory ( string sourceDirectoryName, string destinationDirectoryName ) : void
sourceDirectoryName string
destinationDirectoryName string
Résultat void

MoveFile() public méthode

public MoveFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
Résultat void

OpenFile() public méthode

public OpenFile ( string path, FileMode mode ) : IsolatedStorageFileStream
path string
mode FileMode
Résultat IsolatedStorageFileStream

OpenFile() public méthode

public OpenFile ( string path, FileMode mode, FileAccess access ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
Résultat IsolatedStorageFileStream

OpenFile() public méthode

public OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
share FileShare
Résultat IsolatedStorageFileStream

OpenFile() public méthode

public OpenFile ( string path, System mode ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
Résultat System.IO.IsolatedStorage.IsolatedStorageFileStream

OpenFile() public méthode

public OpenFile ( string path, System mode, System access ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
access System
Résultat System.IO.IsolatedStorage.IsolatedStorageFileStream

OpenFile() public méthode

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

Remove() public méthode

public Remove ( ) : void
Résultat void

Remove() public static méthode

public static Remove ( IsolatedStorageScope scope ) : void
scope IsolatedStorageScope
Résultat void

Remove() public static méthode

public static Remove ( System scope ) : void
scope System
Résultat void