Attachment
Contents
[
Hide
]
Attachment constructor (1 of 6)
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 constructor (2 of 6)
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 constructor (3 of 6)
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 constructor (4 of 6)
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 constructor (5 of 6)
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 constructor (6 of 6)
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