메소드 | 설명 | |
---|---|---|
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 | |
리턴 |