PST .NET Class Library
Show/Hide TOC

# Attachment(String, Stream) Constructor

Initializes a new instance of the Attachment class.

## Definition

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

    public Attachment(
    	string fileName,
    	Stream stream
    )

VB

    Public Sub New (
    	fileName As String,
    	stream As Stream
    )

#### Parameters

fileName String
  Name of the file.
stream Stream
  The stream.

## See Also

#### Reference

Attachment Class
Attachment Overload
Independentsoft.Pst Namespace