DirectoryEntry
General
DirectoryEntry és una classe en Aspose.Email per a Python.
Registre d’un directori de mida fixa per a un objecte de memòria/stream i els seus enllaços en arbre.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
stream_id | StreamId | Read | Stores the StreamId that uniquely identifies the entry’s stream |
name | str | Read | Contains the Unicode name of the directory entry |
directory_entry_name_length | int | Read | Gives the length of the entry’s name in characters |
object_type | DirectoryObjectType | Read | Indicates the DirectoryObjectType of the entry (e.g., storage, stream) |
color_flag | DirectoryColorFlag | Read | Holds the DirectoryColorFlag used for red‑black tree balancing |
left_sibling_id | StreamId | Read | Stores the StreamId of the entry’s left sibling in the tree |
right_sibling_id | StreamId | Read | |
child_id | StreamId | Read | Contains the StreamId of the entry’s first child, if any |
clsid | bytes | Read | Stores the 16‑byte class identifier associated with the entry |
state_bits | int | Read | Holds state flags defined for the directory entry |
creation_time | FileTime | Read | Records the FileTime when the entry was created |
modified_time | FileTime | Read | Records the FileTime of the entry’s last modification |
starting_sector_location | SectorNumber | Read | Indicates the first sector number of the entry’s data |
stream_size | int | Read | Gives the size in bytes of the entry’s stream data |
Mètodes
| Signature | Description |
|---|---|
is_storage() → bool | Returns True when the entry represents a storage object |
is_stream() → bool | Returns True when the entry represents a stream object |
is_root() → bool | Returns True if the entry is the root of the CFB hierarchy |