TransactionalFileStructureCreateFile Method
Creates a new archive editable file using the provided file.
Namespace: SnapDB.IO.FileStructureAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
Public Shared Function CreateFile (
fileName As String,
blockSize As Integer,
ParamArray flags As Guid()
) As TransactionalFileStructure
SnapDB.IO.FileStructure.TransactionalFileStructure.CreateFile = function(fileName, blockSize, ... flags);
- fileName String
- The name of the new file.
- blockSize Int32
- The size of the data block.
- flags Guid
- The flags associated with the specified new file.
TransactionalFileStructureThe new archive editable file.
| ArgumentNullException | Thrown if the file name is null. |
| Exception | Thrown if the name of the new file already exists. |