Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity Class Referencefinal

Represents an attachment entity. More...

Inherits Aspose::Email::Mapi::Msg::IMessageObjectPropertyContainer.

Public Member Functions

System::SharedPtr< MessageObjectPropertiesCollectionget_Properties () override
 Gets the attachment properties. More...
 
System::SharedPtr< MessageObjectget_EmbeddedMessage () const
 Gets the Embedded Message Object storage if present.Can be null. More...
 
void set_EmbeddedMessage (System::SharedPtr< MessageObject > value)
 Sets the Embedded Message Object storage if present.Can be null. More...
 
System::SharedPtr< CustomAttachmentStorageget_CustomAttachmentStorageData () const
 Gets the custom attachment storage data.Can be null. More...
 
void set_CustomAttachmentStorageData (System::SharedPtr< CustomAttachmentStorage > value)
 Sets the custom attachment storage data.Can be null. More...
 
 MessageObjectAttachmentEntity ()
 Initializes a new instance of the MessageObjectAttachmentEntity class. More...
 
 MessageObjectAttachmentEntity (System::SharedPtr< MessageObjectPropertiesCollection > properties)
 Initializes a new instance of the MessageObjectAttachmentEntity class with the predefined property set. More...
 

Friends

class Aspose::Email::Mapi::Msg::CFB::MessageObjectCFBReader
 
class Aspose::Email::Storage::Pst::PstDoer
 

Detailed Description

Represents an attachment entity.

Constructor & Destructor Documentation

◆ MessageObjectAttachmentEntity() [1/2]

Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::MessageObjectAttachmentEntity ( )

Initializes a new instance of the MessageObjectAttachmentEntity class.

◆ MessageObjectAttachmentEntity() [2/2]

Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::MessageObjectAttachmentEntity ( System::SharedPtr< MessageObjectPropertiesCollection properties)

Initializes a new instance of the MessageObjectAttachmentEntity class with the predefined property set.

Parameters
propertiesThe properties.

Member Function Documentation

◆ get_CustomAttachmentStorageData()

System::SharedPtr<CustomAttachmentStorage> Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::get_CustomAttachmentStorageData ( ) const

Gets the custom attachment storage data.Can be null.

The custom attachment storage data.

Mutually exclusive with MessageObjectAttachmentEntity::EmbeddedMessage or both can be null.

◆ get_EmbeddedMessage()

System::SharedPtr<MessageObject> Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::get_EmbeddedMessage ( ) const

Gets the Embedded Message Object storage if present.Can be null.

The embedded message.

Mutually exclusive with MessageObjectAttachmentEntity::CustomAttachmentStorageData or both can be null.

◆ get_Properties()

System::SharedPtr<MessageObjectPropertiesCollection> Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::get_Properties ( )
overridevirtual

Gets the attachment properties.

The properties collection.

Implements Aspose::Email::Mapi::Msg::IMessageObjectPropertyContainer.

◆ set_CustomAttachmentStorageData()

void Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::set_CustomAttachmentStorageData ( System::SharedPtr< CustomAttachmentStorage value)

Sets the custom attachment storage data.Can be null.

The custom attachment storage data.

Mutually exclusive with MessageObjectAttachmentEntity::EmbeddedMessage or both can be null.

◆ set_EmbeddedMessage()

void Aspose::Email::Mapi::Msg::MessageObjectAttachmentEntity::set_EmbeddedMessage ( System::SharedPtr< MessageObject value)

Sets the Embedded Message Object storage if present.Can be null.

The embedded message.

Mutually exclusive with MessageObjectAttachmentEntity::CustomAttachmentStorageData or both can be null.

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::Msg::CFB::MessageObjectCFBReader

friend class Aspose::Email::Mapi::Msg::CFB::MessageObjectCFBReader
friend

◆ Aspose::Email::Storage::Pst::PstDoer

friend class Aspose::Email::Storage::Pst::PstDoer
friend