Class SgaFolder
- Namespace
- OpenCompote.SGA
- Assembly
- OpenCompote.dll
public class SgaFolder : SgaEntry
- Inheritance
-
SgaFolder
- Inherited Members
Properties
Contents
Gets the collection of entries that are currently in the current folder.
public ReadOnlyCollection<SgaEntry> Contents { get; }
Property Value
Methods
AddFile(string, StorageType)
Created an empty file in the current folder.
public SgaFile AddFile(string name, StorageType type)
Parameters
namestringThe name of the new file.
typeStorageTypeThe storage type of the new file.
Returns
- SgaFile
New empty file.
Exceptions
- NotSupportedException
The SGA archive for this drive was open in readonly mode.
- ObjectDisposedException
The SGA archive for this folder has been disposed.
AddFolder(string)
Creates an empty subfolder in the current folder.
public SgaFolder AddFolder(string name)
Parameters
namestringThe name of the folder to be created
Returns
- SgaFolder
New empty subfolder.
Exceptions
- NotSupportedException
The SGA archive for this drive was open in readonly mode.
- ObjectDisposedException
The SGA archive for this entry has been disposed.
ExtractToDirectory(string, bool)
NOT IMPLEMENTED! DO NOT USE
public void ExtractToDirectory(string destination, bool overwrite = false)