EmbeddedFileCollection

EmbeddedFileCollection class

Class representing embedded files collection.

The EmbeddedFileCollection type exposes the following members:

Properties

NameDescription
is_synchronizedGets a value indicating whether access to this collection is synchronized (thread safe).
sync_rootGets an object that can be used to synchronize access to this collection.
keysReturns list of file attachment keys.

Indexer

NameDescription
[index]Gets embedded file by its index.

Methods

NameDescription
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