mapi_attachment

mapi_attachment

개요

mapi_attachment은(는) C++용 Aspose.Email FOSS의 클래스입니다.

설명

mapi_attachment은(는) C++용 Aspose.Email FOSS 라이브러리의 클래스이며, 프로그래밍 사용을 위해 4개의 메서드와 6개의 속성을 노출합니다.

핵심 기능에는 std::string; std::vector<std::uint8_t>; std::string가 포함됩니다. 이러한 작업을 통해 개발자는 mapi_attachment 기능을 C++ 애플리케이션에 직접 통합할 수 있습니다.

속성

이름유형액세스설명
filenamestd::string읽기/쓰기첨부 파일의 파일 이름을 저장합니다
datastd::vector<std::uint8_t>읽기/쓰기첨부 파일의 원시 바이트 내용을 보유합니다
mime_typestd::string읽기/쓰기첨부 파일의 MIME 유형 문자열을 저장합니다.
content_idstd::string읽기/쓰기첨부 파일의 콘텐츠 식별자를 저장합니다.
embedded_messagestd::shared_ptr<mapi_message>읽기/쓰기임베드된 메시지 첨부 파일을 보유합니다.
propertiesmapi_property_collection읽기/쓰기이 첨부 파일에 대한 MAPI 속성 컬렉션을 가져옵니다.

메서드

시그니처설명
from_bytes(filename: std::string, data: std::vector<std::uint8_t>, mime_type: std::string, content_id: std::string) → mapi_attachment원시 바이트 데이터에서 첨부 파일을 생성합니다.
from_stream(filename: std::string, stream: std::istream, mime_type: std::string, content_id: std::string) → mapi_attachment입력 스트림을 읽어 첨부 파일을 생성합니다.
load_data(stream: std::istream)지정된 입력 스트림에서 첨부 파일 내용을 읽어 객체에 저장합니다.
is_embedded_message() → bool첨부 파일이 포함된 메시지인 경우 true를 반환합니다.

참조

 한국어