Attachment.Attachment
Contents
[
Hide
]Attachment(string)
Initializes a new instance of the Attachment
class.
public Attachment(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String | Name of the file. |
See Also
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email
Attachment(string, string)
Initializes a new instance of the Attachment
class.
public Attachment(string fileName, string mediaType)
Parameter | Type | Description |
---|---|---|
fileName | String | Name of the file. |
mediaType | String | Type media type name. |
See Also
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email
Attachment(string, ContentType)
Initializes a new instance of the Attachment
class.
public Attachment(string fileName, ContentType contentType)
Parameter | Type | Description |
---|---|---|
fileName | String | Name of the file. |
contentType | ContentType | The ContentType . |
See Also
- class ContentType
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email
Attachment(Stream, string)
Initializes a new instance of the Attachment
class.
public Attachment(Stream contentStream, string name)
Parameter | Type | Description |
---|---|---|
contentStream | Stream | The content stream of attachment. |
name | String | The attachment name. |
See Also
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email
Attachment(Stream, string, string)
Initializes a new instance of the Attachment
class.
public Attachment(Stream contentStream, string name, string mediaType)
Parameter | Type | Description |
---|---|---|
contentStream | Stream | The content stream of attachment. |
name | String | The attachment name. |
mediaType | String | The media type name. |
See Also
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email
Attachment(Stream, ContentType)
Initializes a new instance of the Attachment
class.
public Attachment(Stream contentStream, ContentType contentType)
Parameter | Type | Description |
---|---|---|
contentStream | Stream | The content stream of attachment. |
contentType | ContentType | The ContentType . |
See Also
- class ContentType
- class Attachment
- namespace Aspose.Email
- assembly Aspose.Email