Attachment Constructor (Stream, String) |
Initializes a new instance of the
Attachment class.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic Attachment(
Stream contentStream,
string name
)
Public Sub New (
contentStream As Stream,
name As String
)
public:
Attachment(
Stream^ contentStream,
String^ name
)
new :
contentStream : Stream *
name : string -> Attachment
Parameters
- contentStream
- Type: System.IOStream
The content stream of attachment. - name
- Type: SystemString
The attachment name.
See Also