סקירה כללית
mapi_attachment הוא שיעור ב Aspose.Email עבור CPP.
נכסים
| שם | סוג | גישה | תיאור |
|---|
filename | std::string | קרא / כתיבה | שמור את שם הקובץ של התוסף |
data | std::vector<std::uint8_t> | קרא / כתיבה | שמירה על תוכן ה-Byte הירוק של הקובץ |
mime_type | std::string | קרא / כתיבה | |
content_id | std::string | קרא / כתיבה | מכיל את זיהוי התוכן של הקובץ |
embedded_message | std::shared_ptr<mapi_message> | קרא / כתיבה | מספק גישה למכתב mapi_message המובנה, אם יש |
properties | mapi_property_collection | קרא / כתיבה | |
שיטות
| חתימה | תיאור |
|---|
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 | |