Метод | Описание | |
---|---|---|
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.
|
|
CommitChanges ( FileHeaderBlock headerBlock ) : void |
Executes a commit of data. This will flush the data to the disk use the provided header data to properly execute this function.
|
|
CreateIoSession ( ) : |
Creates a BinaryStreamIoSessionBase that can be used to read from this disk medium.
|
|
MemoryPoolFile ( |
Create a new MemoryPoolFile
|
|
RollbackChanges ( ) : void |
Rolls back all edits to the DiskMedium
|
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 CommitChanges ( FileHeaderBlock headerBlock ) : void | ||
headerBlock | FileHeaderBlock | |
Результат | void |
public CreateIoSession ( ) : |
||
Результат |
public MemoryPoolFile ( |
||
pool | ||
Результат | System |