PowerTCP Mail for .NET
MimeAttachmentStream Constructor()
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MimeAttachmentStream Class > MimeAttachmentStream Constructor : MimeAttachmentStream Constructor()




Initializes a new MimeAttachmentStream.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New MimeAttachmentStream()
C# 
public MimeAttachmentStream()
Managed Extensions for C++ 
public: MimeAttachmentStream();
C++/CLI 
public:
MimeAttachmentStream();

Remarks

Use this constructor to create an empty MimeAttachmentStream object. Create the part by using the MimeAttachmentStream.Content.Write method. Normally MimeAttachmentStreams can be created by passing a Stream or file name into the constructor. This constructor is reserved for advanced users.

When creating a MessagePartStream using this constructor, MessagePartStream.MimeEncoding will default to ContentEncoding.Base64.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.