MapiAttachment

MapiAttachment class

The MapiAttachment type exposes the following members:

Properties

NameDescription
propertiesGets the collection of properties.
code_pageGets the code page.
item_idThe item id, uses with a server
is_inlineGets a value indicating whether the attachment is inline or regular.
If inline returns true, otherwise false.
extensionGets a filename extension that indicates the document type of an attachment.
property_streamGets the property stream.
sub_storagesGets the sub storages.
file_nameGets an attachment’s base filename and extension, excluding path.
long_file_nameGets an attachment’s long filename and extension, excluding path.
display_nameGets the display name of the ole object in an attachment.
mime_tagGets formatting information about a
Multipurpose Internet Mail Extensions (MIME) attachment.
binary_dataGets or sets binary attachment data.
contentGets the content.
object_dataGets an attachment object typically accessed
through the OLE IStorage interface.
named_propertiesGets the named properties of message.

Methods

NameDescription
set_property(value)
set_property(pd, value)
try_get_property_string(tag, codepage)
try_get_property_string(tag)
try_get_property_string(tag, value, codepage)
try_get_property_string(tag, value)
get_property_string(tag, codepage)
get_property_string(tag)
save(filename)
save(stream)
get_property(pd)
try_get_property_data(tag)
get_property_bytes(tag)
get_property_int32(tag)
get_property_long(tag)
get_property_short(tag)
get_property_boolean(tag)
get_property_date_time(key)
is_store_unicode_ok()
try_get_property_date_time(tag, value)
try_get_property_long(tag, value)
try_get_property_int32(tag, value)
remove_property(tag)

See Also