PST .NET Class Library
Show/Hide TOC

# Attachment Class

Class Attachment.

## Definition

Namespace: Independentsoft.Email.Mime
Assembly: Independentsoft.Pst (in Independentsoft.Pst.dll) Version: 1.2.900.17830
C#

    public class Attachment

VB

    Public Class Attachment

Inheritance
  Object Attachment

## Constructors

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.

## Properties

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.

## Methods

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 ObjectToString)

## See Also

#### Reference

Independentsoft.Email.Mime Namespace