Export (0) Print
Expand All

IsolatedStorageFile Methods

The IsolatedStorageFile type exposes the following members.

  Name Description
Public method Close Closes a store previously opened with GetStore, GetUserStoreForAssembly, or GetUserStoreForDomain.
Public method CopyFile(String, String) Copies an existing file to a new file.
Public method CopyFile(String, String, Boolean) Copies an existing file to a new file, and optionally overwrites an existing file.
Public method CreateDirectory Creates a directory in the isolated storage scope.
Public method CreateFile Creates a file in the isolated store.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method DeleteDirectory Deletes a directory in the isolated storage scope.
Public method DeleteFile Deletes a file in the isolated storage scope.
Public method DirectoryExists Determines whether the specified path refers to an existing directory in the isolated store.
Public method Dispose Releases all resources used by the IsolatedStorageFile.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FileExists Determines whether the specified path refers to an existing file in the isolated store.
Public method GetCreationTime Returns the creation date and time of a specified file or directory.
Public method GetDirectoryNames() Enumerates the directories at the root of an isolated store.
Public method GetDirectoryNames(String) Enumerates the directories in an isolated storage scope that match a given search pattern.
Public method Static member GetEnumerator Gets the enumerator for the IsolatedStorageFile stores within an isolated storage scope.
Public method GetFileNames() Enumerates the file names at the root of an isolated store.
Public method GetFileNames(String) Gets the file names that match a search pattern.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLastAccessTime Returns the date and time a specified file or directory was last accessed.
Public method GetLastWriteTime Returns the date and time a specified file or directory was last written to.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static member GetMachineStoreForApplication Obtains machine-scoped isolated storage corresponding to the calling code's application identity.
Public method Static member GetMachineStoreForAssembly Obtains machine-scoped isolated storage corresponding to the calling code's assembly identity.
Public method Static member GetMachineStoreForDomain Obtains machine-scoped isolated storage corresponding to the application domain identity and the assembly identity.
Public method Static member GetStore(IsolatedStorageScope, Object) Obtains isolated storage corresponding to the given application identity.
Public method Static member GetStore(IsolatedStorageScope, Type) Obtains isolated storage corresponding to the isolation scope and the application identity object.
Public method Static member GetStore(IsolatedStorageScope, Object, Object) Obtains the isolated storage corresponding to the given application domain and assembly evidence objects.
Public method Static member GetStore(IsolatedStorageScope, Type, Type) Obtains isolated storage corresponding to the isolated storage scope given the application domain and assembly evidence types.
Public method Static member GetStore(IsolatedStorageScope, Evidence, Type, Evidence, Type) Obtains isolated storage corresponding to the given application domain and the assembly evidence objects and types.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member GetUserStoreForApplication Obtains user-scoped isolated storage corresponding to the calling code's application identity.
Public method Static member GetUserStoreForAssembly Obtains user-scoped isolated storage corresponding to the calling code's assembly identity.
Public method Static member GetUserStoreForDomain Obtains user-scoped isolated storage corresponding to the application domain identity and assembly identity.
Public method Static member GetUserStoreForSite Infrastructure. Obtains a user-scoped isolated store for use by applications in a virtual host domain.
Public method IncreaseQuotaTo Enables an application to explicitly request a larger quota size, in bytes. (Overrides IsolatedStorage.IncreaseQuotaTo(Int64).)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method MoveDirectory Moves a specified directory and its contents to a new location.
Public method MoveFile Moves a specified file to a new location, and optionally lets you specify a new file name.
Public method OpenFile(String, FileMode) Opens a file in the specified mode.
Public method OpenFile(String, FileMode, FileAccess) Opens a file in the specified mode with the specified read/write access.
Public method OpenFile(String, FileMode, FileAccess, FileShare) Opens a file in the specified mode, with the specified read/write access and sharing permission.
Public method Remove() Removes the isolated storage scope and all its contents. (Overrides IsolatedStorage.Remove().)
Public method Static member Remove(IsolatedStorageScope) Removes the specified isolated storage scope for all identities.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft