Attachment
内容
[
隐藏
]Attachment(string)
初始化Attachment类.
public Attachment(string fileName)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | 文件的名称。 |
也可以看看
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email
Attachment(string, string)
初始化Attachment类.
public Attachment(string fileName, string mediaType)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | 文件的名称。 |
| mediaType | String | 键入媒体类型名称。 |
也可以看看
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email
Attachment(string, ContentType)
初始化Attachment类.
public Attachment(string fileName, ContentType contentType)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | 文件的名称。 |
| contentType | ContentType | 这ContentType. |
也可以看看
- class ContentType
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email
Attachment(Stream, string)
初始化Attachment类.
public Attachment(Stream contentStream, string name)
| 范围 | 类型 | 描述 |
|---|---|---|
| contentStream | Stream | 附件的内容流。 |
| name | String | 附件名称。 |
也可以看看
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email
Attachment(Stream, string, string)
初始化Attachment类.
public Attachment(Stream contentStream, string name, string mediaType)
| 范围 | 类型 | 描述 |
|---|---|---|
| contentStream | Stream | 附件的内容流。 |
| name | String | 附件名称。 |
| mediaType | String | 媒体类型名称。 |
也可以看看
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email
Attachment(Stream, ContentType)
初始化Attachment类.
public Attachment(Stream contentStream, ContentType contentType)
| 范围 | 类型 | 描述 |
|---|---|---|
| contentStream | Stream | 附件的内容流。 |
| contentType | ContentType | 这ContentType. |
也可以看看
- class ContentType
- class Attachment
- 命名空间 Aspose.Email
- 部件 Aspose.Email