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

NameTypeAccessDescription
namestrอ่าน/เขียนได้ชื่อหรือตั้งชื่อ.
rolestrอ่าน/เขียนได้รับหรือกําหนดบทบาท.
clsidbytesอ่าน/เขียนได้หรือตั้ง clsid.
state_bitsintอ่าน/เขียนได้หรือกําหนดตัวเลขรัฐ.
creation_timeintอ่าน/เขียนได้หรือกําหนดเวลาสร้าง.
modified_timeintอ่าน/เขียนได้รับหรือกําหนดเวลาที่เปลี่ยนไป.
streamslist[MsgStream]อ่าน/เขียนได้หรือกําหนดกระแส.
storageslist["MsgStorage"]อ่าน/เขียนได้หรือตั้งที่เก็บของไว้.
property_header_kind`strNone`อ่าน/เขียน
property_stream_header`PropertyStreamHeaderTopLevelPropertyStreamHeaderSubobjectNone`
fixed_length_propertiestuple[PropertyEntryFixedLength, ...]อ่าน/เขียนได้รับหรือกําหนดคุณสมบัติความยาวคงที่.
property_stream_parse_error`strNone`อ่าน/เขียน

Methods

SignatureDescription
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) → `MsgStreamNone`
find_storage(name: str) → `“MsgStorage”None`

See Also

 ภาษาไทย