AttachmentBase

AttachmentBase (1 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase()

AttachmentBase (2 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::SharedPtr < System::IO::Stream > contentStream, System::String name, System::String mediaType)
ParameterDescription
contentStreamThe content stream.
nameThe attachment name.
mediaTypeType of the media.

AttachmentBase (3 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::String fileName)
ParameterDescription
fileNameName of the file.

AttachmentBase (4 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::String fileName, System::String mediaType)
ParameterDescription
fileNameName of the file.
mediaTypeType of the media.

AttachmentBase (5 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::String fileName, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
fileNameName of the file.
contentTypeType of the content.

AttachmentBase (6 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::SharedPtr < System::IO::Stream > contentStream)
ParameterDescription
contentStreamThe content stream.

AttachmentBase (7 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::SharedPtr < System::IO::Stream > contentStream, System::String mediaType)
ParameterDescription
contentStreamThe content stream.
mediaTypeType of the media.

AttachmentBase (8 of 8)

Initializes a new instance of the AttachmentBase class.

Returns: Aspose::Email::

AttachmentBase(System::SharedPtr < System::IO::Stream > contentStream, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
contentStreamThe content stream.
contentTypeType of the content.