MsgStorage

개요

MsgStorage은 Aspose.Email FOSS에서 Python용 클래스입니다.

역할 분류와 파싱된 속성-스트림 메타데이터를 갖는 가변 MSG 저장 노드.

이 클래스는 Python 프로그램에서 MsgStorage 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드에는 add_storage, add_stream, find_storage, find_stream, iter_storages, iter_streams가 포함됩니다. 모든 공개 멤버는 Aspose.Email FOSS for Python 패키지를 설치한 후 모든 Python 애플리케이션에서 접근할 수 있습니다. 속성: clsid, creation_time, fixed_length_properties, modified_time, name, property_header_kind, 및 6개가 더 있습니다.

속성

이름유형액세스설명
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`읽기/쓰기

메서드

시그니처설명
add_stream(stream: MsgStream) → MsgStream스토리지 노드에 MsgStream를 추가하여 사용자 정의 스트림을 MSG 파일에 포함할 수 있게 합니다
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`

참조

 한국어