Interface ICAMAPIFilesInStreamStorage
Object to operate with one single storage.
Assembly: CAMAPI.FilesInStream.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("A914DBB6-BDAA-4E26-BD04-D349F0D850F4")]
public interface ICAMAPIFilesInStreamStorage
Properties
ItemChildIndex[int]
Declaration
int ItemChildIndex[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemCount
Total count of items inside storage (Folders + files + blocks).
Declaration
Property Value
ItemFullName[int]
Declaration
string ItemFullName[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemName[int]
Declaration
string ItemName[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemParentIndex[int]
Declaration
int ItemParentIndex[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemSiblingIndex[int]
Declaration
int ItemSiblingIndex[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemType[int]
Declaration
TFISStorageItemType ItemType[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ItemUnCompressedSize[int]
Declaration
ulong ItemUnCompressedSize[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
OpenMode
The way to open a storage.
Declaration
TFISStorageOpenMode OpenMode { get; }
Property Value
StorageFileName
File name the storage linked to.
Declaration
string StorageFileName { get; }
Property Value
Methods
Close(bool)
Declaration
Parameters
Type |
Name |
Description |
bool |
Squash |
|
Declaration
void ExtractFile(int AFile, string DestinationPath, bool Overwrite)
Parameters
Type |
Name |
Description |
int |
AFile |
|
string |
DestinationPath |
|
bool |
Overwrite |
|
GetFileReadStream(int)
Declaration
IStream GetFileReadStream(int AFileIndex)
Parameters
Type |
Name |
Description |
int |
AFileIndex |
|
Returns
IndexOfFullName(string, int)
Declaration
int IndexOfFullName(string FullName, int AParent)
Parameters
Type |
Name |
Description |
string |
FullName |
|
int |
AParent |
|
Returns
Open(string, TFISStorageOpenMode)
Try to open the storage file in memory.
Declaration
TResultStatus Open(string StorageFileName, TFISStorageOpenMode OpenMode)
Parameters
Returns
ReadAllTextOfFile(int, string, out string)
Declaration
TResultStatus ReadAllTextOfFile(int AFileIndex, string EncodingName, out string resStr)
Parameters
Returns