Метод | Описание | |
---|---|---|
BeginEdit ( ) : TransactionalEdit |
This will start a transactional edit on the file.
|
|
ChangeExtension ( string extension, bool isReadOnly, bool isSharingEnabled ) : void |
Changes the extension of the current file.
|
|
ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void |
Reopens the file with different permissions.
|
|
CreateFile ( string fileName, int blockSize ) : |
Creates a new archive file using the provided file. File is editable.
|
|
CreateInMemory ( int blockSize ) : |
Creates a new archive file that is completely in memory
|
|
Dispose ( ) : void |
Releases all the resources used by the TransactionalFileStructure object.
|
|
OpenFile ( string fileName, bool isReadOnly ) : |
Opens an existing file.
|
Метод | Описание | |
---|---|---|
OnTransactionCommitted ( ) : void | ||
OnTransactionRolledBack ( ) : void | ||
TransactionalFileStructure ( |
public ChangeExtension ( string extension, bool isReadOnly, bool isSharingEnabled ) : void | ||
extension | string | the new extension |
isReadOnly | bool | If the file should be reopened as readonly |
isSharingEnabled | bool | If the file should share read privileges. |
Результат | void |
public ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void | ||
isReadOnly | bool | If the file should be reopened as readonly |
isSharingEnabled | bool | If the file should share read privileges. |
Результат | void |
public static CreateFile ( string fileName, int blockSize ) : |
||
fileName | string | |
blockSize | int | |
Результат |
public static CreateInMemory ( int blockSize ) : |
||
blockSize | int | |
Результат |
public static OpenFile ( string fileName, bool isReadOnly ) : |
||
fileName | string | |
isReadOnly | bool | |
Результат |