C# Класс System.IO.IsolatedStorage.IsolatedStorageFile

Наследование: IsolatedStorage, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

CopyFile() публичный Метод

public CopyFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
Результат void

CopyFile() публичный Метод

public CopyFile ( string sourceFileName, string destinationFileName, bool overwrite ) : void
sourceFileName string
destinationFileName string
overwrite bool
Результат void

CreateDirectory() публичный Метод

public CreateDirectory ( string dir ) : void
dir string
Результат void

CreateFile() публичный Метод

public CreateFile ( string path ) : IsolatedStorageFileStream
path string
Результат IsolatedStorageFileStream

CreateFile() публичный Метод

public CreateFile ( string path ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
Результат System.IO.IsolatedStorage.IsolatedStorageFileStream

DeleteDirectory() публичный Метод

public DeleteDirectory ( string dir ) : void
dir string
Результат void

DeleteFile() публичный Метод

public DeleteFile ( string file ) : void
file string
Результат void

DirectoryExists() публичный Метод

public DirectoryExists ( string path ) : bool
path string
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

FileExists() публичный Метод

public FileExists ( string path ) : bool
path string
Результат bool

GetCreationTime() публичный Метод

public GetCreationTime ( string path ) : DateTimeOffset
path string
Результат DateTimeOffset

GetCreationTime() публичный Метод

public GetCreationTime ( string path ) : System.DateTimeOffset
path string
Результат System.DateTimeOffset

GetDirectoryNames() публичный Метод

public GetDirectoryNames ( ) : string[]
Результат string[]

GetDirectoryNames() публичный Метод

public GetDirectoryNames ( string searchPattern ) : string[]
searchPattern string
Результат string[]

GetEnumerator() публичный статический Метод

public static GetEnumerator ( IsolatedStorageScope scope ) : IEnumerator
scope IsolatedStorageScope
Результат IEnumerator

GetEnumerator() публичный статический Метод

public static GetEnumerator ( System scope ) : System.Collections.IEnumerator
scope System
Результат System.Collections.IEnumerator

GetFileNames() публичный Метод

public GetFileNames ( ) : string[]
Результат string[]

GetFileNames() публичный Метод

public GetFileNames ( string searchPattern ) : string[]
searchPattern string
Результат string[]

GetLastAccessTime() публичный Метод

public GetLastAccessTime ( string path ) : DateTimeOffset
path string
Результат DateTimeOffset

GetLastAccessTime() публичный Метод

public GetLastAccessTime ( string path ) : System.DateTimeOffset
path string
Результат System.DateTimeOffset

GetLastWriteTime() публичный Метод

public GetLastWriteTime ( string path ) : DateTimeOffset
path string
Результат DateTimeOffset

GetLastWriteTime() публичный Метод

public GetLastWriteTime ( string path ) : System.DateTimeOffset
path string
Результат System.DateTimeOffset

GetMachineStoreForApplication() публичный статический Метод

public static GetMachineStoreForApplication ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetMachineStoreForApplication() публичный статический Метод

public static GetMachineStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForAssembly() публичный статический Метод

public static GetMachineStoreForAssembly ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetMachineStoreForAssembly() публичный статический Метод

public static GetMachineStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetMachineStoreForDomain() публичный статический Метод

public static GetMachineStoreForDomain ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetMachineStoreForDomain() публичный статический Метод

public static GetMachineStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( IsolatedStorageScope scope, Type applicationEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationEvidenceType Type
Результат IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType ) : IsolatedStorageFile
scope IsolatedStorageScope
domainEvidenceType Type
assemblyEvidenceType Type
Результат IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( IsolatedStorageScope scope, object applicationIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
applicationIdentity object
Результат IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( IsolatedStorageScope scope, object domainIdentity, object assemblyIdentity ) : IsolatedStorageFile
scope IsolatedStorageScope
domainIdentity object
assemblyIdentity object
Результат IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( System scope, System applicationEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationEvidenceType System
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( System scope, System domainEvidenceType, System assemblyEvidenceType ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
domainEvidenceType System
assemblyEvidenceType System
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( System scope, object applicationIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
applicationIdentity object
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetStore() публичный статический Метод

public static GetStore ( System scope, object domainIdentity, object assemblyIdentity ) : System.IO.IsolatedStorage.IsolatedStorageFile
scope System
domainIdentity object
assemblyIdentity object
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForApplication() публичный статический Метод

public static GetUserStoreForApplication ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetUserStoreForApplication() публичный статический Метод

public static GetUserStoreForApplication ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForAssembly() публичный статический Метод

public static GetUserStoreForAssembly ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetUserStoreForAssembly() публичный статический Метод

public static GetUserStoreForAssembly ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForDomain() публичный статический Метод

public static GetUserStoreForDomain ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetUserStoreForDomain() публичный статический Метод

public static GetUserStoreForDomain ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

GetUserStoreForSite() публичный статический Метод

public static GetUserStoreForSite ( ) : IsolatedStorageFile
Результат IsolatedStorageFile

GetUserStoreForSite() публичный статический Метод

public static GetUserStoreForSite ( ) : System.IO.IsolatedStorage.IsolatedStorageFile
Результат System.IO.IsolatedStorage.IsolatedStorageFile

IncreaseQuotaTo() публичный Метод

public IncreaseQuotaTo ( long newQuotaSize ) : bool
newQuotaSize long
Результат bool

MoveDirectory() публичный Метод

public MoveDirectory ( string sourceDirectoryName, string destinationDirectoryName ) : void
sourceDirectoryName string
destinationDirectoryName string
Результат void

MoveFile() публичный Метод

public MoveFile ( string sourceFileName, string destinationFileName ) : void
sourceFileName string
destinationFileName string
Результат void

OpenFile() публичный Метод

public OpenFile ( string path, FileMode mode ) : IsolatedStorageFileStream
path string
mode FileMode
Результат IsolatedStorageFileStream

OpenFile() публичный Метод

public OpenFile ( string path, FileMode mode, FileAccess access ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
Результат IsolatedStorageFileStream

OpenFile() публичный Метод

public OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : IsolatedStorageFileStream
path string
mode FileMode
access FileAccess
share FileShare
Результат IsolatedStorageFileStream

OpenFile() публичный Метод

public OpenFile ( string path, System mode ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
Результат System.IO.IsolatedStorage.IsolatedStorageFileStream

OpenFile() публичный Метод

public OpenFile ( string path, System mode, System access ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
access System
Результат System.IO.IsolatedStorage.IsolatedStorageFileStream

OpenFile() публичный Метод

public OpenFile ( string path, System mode, System access, System share ) : System.IO.IsolatedStorage.IsolatedStorageFileStream
path string
mode System
access System
share System
Результат System.IO.IsolatedStorage.IsolatedStorageFileStream

Remove() публичный Метод

public Remove ( ) : void
Результат void

Remove() публичный статический Метод

public static Remove ( IsolatedStorageScope scope ) : void
scope IsolatedStorageScope
Результат void

Remove() публичный статический Метод

public static Remove ( System scope ) : void
scope System
Результат void