MsgStorage
Overview
MsgStorage เป็นคลาสใน Aspose.Email FOSS สําหรับ Python.
ค้อนเก็บข้อมูล MSG ที่สามารถเปลี่ยนแปลงได้ พร้อมการจัดเรียงบทบาท และเมตาเดต้าที่ทําการวิเคราะห์ของโครงสร้าง.
หมวดนี้ให้ 6 วิธีในการทํางานกับวัตถุ MsgStorage ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: add_storage, add_stream, find_storage, find_stream, iter_storages, iter_streams. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: clsid, creation_time, fixed_length_properties, modified_time, name, property_header_kind,และอีก 6 คน.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | อ่าน/เขียน | ได้ชื่อหรือตั้งชื่อ. |
role | str | อ่าน/เขียน | ได้รับหรือกําหนดบทบาท. |
clsid | bytes | อ่าน/เขียน | ได้หรือตั้ง clsid. |
state_bits | int | อ่าน/เขียน | ได้หรือกําหนดตัวเลขรัฐ. |
creation_time | int | อ่าน/เขียน | ได้หรือกําหนดเวลาสร้าง. |
modified_time | int | อ่าน/เขียน | ได้รับหรือกําหนดเวลาที่เปลี่ยนไป. |
streams | list[MsgStream] | อ่าน/เขียน | ได้หรือกําหนดกระแส. |
storages | list["MsgStorage"] | อ่าน/เขียน | ได้หรือตั้งที่เก็บของไว้. |
property_header_kind | `str | None` | อ่าน/เขียน |
property_stream_header | `PropertyStreamHeaderTopLevel | PropertyStreamHeaderSubobject | None` |
fixed_length_properties | tuple[PropertyEntryFixedLength, ...] | อ่าน/เขียน | ได้รับหรือกําหนดคุณสมบัติความยาวคงที่. |
property_stream_parse_error | `str | None` | อ่าน/เขียน |
Methods
| Signature | Description |
|---|---|
add_stream(stream: MsgStream) → MsgStream | เพิ่ม MsgStream ไปยังการเก็บข้อมูลนี้ และคืนสตรีมที่เพิ่มมา |
add_storage(storage: "MsgStorage") → "MsgStorage" | เพิ่มเด็ก MsgStorage ไปยังการเก็บข้อมูลนี้และคืนมัน |
iter_streams() → Iterator[MsgStream] | กลับตัวอิเทเรเตอร์บนทุกวัตถุ MsgStream ในสตอรี่นี้ |
iter_storages() → Iterator["MsgStorage"] | การคืนการคัดสรรของอัตถุ MsgStorage ของลูกทั้งหมด |
find_stream(name: str) → `MsgStream | None` |
find_storage(name: str) → `“MsgStorage” | None` |