mapi_attachment

mapi_attachment

خلاصه ای

mapi_attachment در این مطلب به عنوان یک کلاس برای CPP می پردازیم.

خواص

نامنوعدسترسیتوصیف
filenamestd::stringخواندن / نوشتنذخیره نام فایل پیوست
datastd::vector<std::uint8_t>خواندن / نوشتنمحتوای بایت خام پیوستن را حفظ می کند.
mime_typestd::stringخواندن / نوشتن
content_idstd::stringخواندن / نوشتنشامل شناسه محتوا پیوست
embedded_messagestd::shared_ptr<mapi_message>خواندن / نوشتندسترسی به پیام Mapi_Message را فراهم می کند، اگر هر گونه
propertiesmapi_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
 فارسی