Collection
Collection class
Represents class for Collection(12.3.5 Collections).
The Collection type exposes the following members:
Constructors
Name | Description |
---|
Collection() | Initializes new Collection object. |
Properties
Name | Description |
---|
is_synchronized | Gets a value indicating whether access to this collection is synchronized (thread safe). |
sync_root | Gets an object that can be used to synchronize access to this collection. |
keys | Returns list of file attachment keys. |
default_entry | Default embedded file name. |
Indexer
Name | Description |
---|
[index] | Gets embedded file by its index. |
Methods
Name | Description |
---|
delete(name) | Deletes file from the collection by its key in the collection. |
delete() | Deletes file from the collection by its key in the collection. |
add(key, file) | Adds file to embedded files with the specified key. |
delete_by_key(key) | Deletes file from the collection by its key in the collection. |
find_by_name(name) | Returns embedded file by its name. |
See Also