mapi_attachment

mapi_attachment

概述

mapi_attachment 是 CPP 的 Aspose.Email 中的一个类.

属性

名称:类型Access描述情况
filenamestd::string阅读/写作存储附件的文件名
datastd::vector<std::uint8_t>阅读/写作包含附件的原始字节内容.
mime_typestd::string阅读/写作
content_idstd::string阅读/写作包含附件内容标识符.
embedded_messagestd::shared_ptr<mapi_message>阅读/写作提供嵌入 mapi_message 的访问,如果有任何信息.
propertiesmapi_property_collection阅读/写作

方法

Signature描述情况
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
 中文