MsgStorage

Overview

MsgStorage là một lớp trong Aspose.Email FOSS cho Python.

Mutable MSG storage nod với phân loại vai trò và parsed property-stream metadata.

Khóa học này cung cấp 6 phương pháp để làm việc với các đối tượng MsgStorage trong các chương trình Python. Các phương pháp có sẵn bao gồm: add_storage, add_stream, find_storage, find_stream, iter_storages, iter_streams. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Email FOSS cho gói Python. Tài sản : clsid, creation_time, fixed_length_properties, modified_time, name, property_header_kind,Và 6 nhiều hơn nữa.

Properties

NameTypeAccessDescription
namestrĐọc / viếtNhận hoặc đặt tên.
rolestrĐọc / viếtNhận hoặc đặt vai trò.
clsidbytesĐọc / viếtGửi hoặc đặt ccsid.
state_bitsintĐọc / viếtNhận hoặc đặt các bit nhà nước.
creation_timeintĐọc / viếtNhận hoặc đặt thời gian tạo ra.
modified_timeintĐọc / viếtNhận hoặc đặt thời gian được sửa đổi.
streamslist[MsgStream]Đọc / viếtNhận hoặc đặt các dòng chảy.
storageslist["MsgStorage"]Đọc / viếtNhận hoặc đặt các kho lưu trữ.
property_header_kind`strNone`Đọc / viết
property_stream_header`PropertyStreamHeaderTopLevelPropertyStreamHeaderSubobjectNone`
fixed_length_propertiestuple[PropertyEntryFixedLength, ...]Đọc / viếtNhận hoặc đặt các thuộc tính dài cố định.
property_stream_parse_error`strNone`Đọc / viết

Methods

SignatureDescription
add_stream(stream: MsgStream)MsgStreamThêm một MsgStream vào lưu trữ này và trả về dòng thêm
add_storage(storage: "MsgStorage")"MsgStorage"Thêm một đứa trẻ MsgStorage vào lưu trữ này và trả lại nó
iter_streams()Iterator[MsgStream]Trả lại một iterator trên tất cả các đối tượng MsgStream trong lưu trữ này
iter_storages()Iterator["MsgStorage"]Trả lại một iterator trên tất cả các đối tượng của trẻ MsgStorage
find_stream(name: str) → `MsgStreamNone`
find_storage(name: str) → `“MsgStorage”None`

See Also

 Tiếng Việt