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

NameTypeAccessDescription
stream_idStreamIdReadStores the StreamId that uniquely identifies the entry’s stream
namestrReadContains the Unicode name of the directory entry
directory_entry_name_lengthintReadGives the length of the entry’s name in characters
object_typeDirectoryObjectTypeReadIndicates the DirectoryObjectType of the entry (e.g., storage, stream)
color_flagDirectoryColorFlagReadHolds the DirectoryColorFlag used for red‑black tree balancing
left_sibling_idStreamIdReadStores the StreamId of the entry’s left sibling in the tree
right_sibling_idStreamIdRead
child_idStreamIdReadContains the StreamId of the entry’s first child, if any
clsidbytesReadStores the 16‑byte class identifier associated with the entry
state_bitsintReadHolds state flags defined for the directory entry
creation_timeFileTimeReadRecords the FileTime when the entry was created
modified_timeFileTimeReadRecords the FileTime of the entry’s last modification
starting_sector_locationSectorNumberReadIndicates the first sector number of the entry’s data
stream_sizeintReadGives the size in bytes of the entry’s stream data

Mètodes

SignatureDescription
is_storage()boolReturns True when the entry represents a storage object
is_stream()boolReturns True when the entry represents a stream object
is_root()boolReturns True if the entry is the root of the CFB hierarchy
 Català