Overview
mapi_attachment เป็นคลาสใน Aspose.Email สําหรับ CPP.
Properties
| Name | Type | Access | Description |
|---|
filename | std::string | อ่าน/เขียน | เก็บชื่อไฟล์ของเอกสารแนบ |
data | std::vector<std::uint8_t> | อ่าน/เขียน | เก็บเนื้อหาไบต์ที่ไม่ถูกนํามาใช้ของเอกสารยึด |
mime_type | std::string | อ่าน/เขียน | |
content_id | std::string | อ่าน/เขียน | รวมรหัสสาระของเอกสารยึดไว้ |
embedded_message | std::shared_ptr<mapi_message> | อ่าน/เขียน | ให้การเข้าถึงข้อความ mapi_message ที่ติดตั้งไว้ หากมี |
properties | mapi_property_collection | อ่าน/เขียน | |
Methods
| Signature | Description |
|---|
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 | |