Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Email.Mime
Attachment Class
Attachment Constructor
Attachment Properties
Attachment Methods

# Attachment Class

Class Attachment.
Inheritance Hierarchy
System
Object
Independentsoft.Email.Mime
Attachment

Namespace: Independentsoft.Email.Mime
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public class Attachment

    Public Class Attachment

The Attachment type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Attachment | Initializes a new instance of the Attachment class.
| Attachment( Byte ) | Initializes a new instance of the Attachment class.
| Attachment(Stream) | Initializes a new instance of the Attachment class.
| Attachment(String) | Initializes a new instance of the Attachment class.
| Attachment( Byte , String) | Initializes a new instance of the Attachment class.
| Attachment(Stream, String) | Initializes a new instance of the Attachment class.

Top
Properties

| Name | Description
--- | --- | ---
| ContentDescription | Gets or sets the content description.
| ContentDisposition | Gets or sets the content disposition.
| ContentID | Gets or sets the content identifier.
| ContentLocation | Gets or sets the content location.
| ContentType | Gets or sets the type of the content.
| Name | Gets or sets the name.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetBytes | Gets the bytes.
| GetFileName | Gets the name of the file.
| GetHashCode | (Inherited from Object.)
| GetStream | Gets the stream.
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| Open |
| Save(Stream) | Saves the specified stream.
| Save(String) | Saves this message to the specified file.
| Save(String, Boolean) | Saves this message to the specified file.
| ToString | Returns a String that represents this instance. (Overrides Object ToString .)

Top
See Also

#### Reference

Independentsoft.Email.Mime Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de