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
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Đọc / viết | Nhận hoặc đặt tên. |
role | str | Đọc / viết | Nhận hoặc đặt vai trò. |
clsid | bytes | Đọc / viết | Gửi hoặc đặt ccsid. |
state_bits | int | Đọc / viết | Nhận hoặc đặt các bit nhà nước. |
creation_time | int | Đọc / viết | Nhận hoặc đặt thời gian tạo ra. |
modified_time | int | Đọc / viết | Nhận hoặc đặt thời gian được sửa đổi. |
streams | list[MsgStream] | Đọc / viết | Nhận hoặc đặt các dòng chảy. |
storages | list["MsgStorage"] | Đọc / viết | Nhận hoặc đặt các kho lưu trữ. |
property_header_kind | `str | None` | Đọc / viết |
property_stream_header | `PropertyStreamHeaderTopLevel | PropertyStreamHeaderSubobject | None` |
fixed_length_properties | tuple[PropertyEntryFixedLength, ...] | Đọc / viết | Nhận hoặc đặt các thuộc tính dài cố định. |
property_stream_parse_error | `str | None` | Đọc / viết |
Methods
| Signature | Description |
|---|---|
add_stream(stream: MsgStream) → MsgStream | Thê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) → `MsgStream | None` |
find_storage(name: str) → `“MsgStorage” | None` |