PowerTCP Mail for .NET
Save(String) Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > AttachmentStream Class > Save Method : Save(String) Method




fileName
The name of the file to save the attachment to.
Saves the attachment.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Save( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As AttachmentStream
Dim fileName As String
 
instance.Save(fileName)
C# 
public void Save( 
   string fileName
)
Managed Extensions for C++ 
public: void Save( 
   string* fileName
) 
C++/CLI 
public:
void Save( 
   String^ fileName
) 

Parameters

fileName
The name of the file to save the attachment to.

Remarks

This method saves the attachment to the file specified by fileName. Does not overwrite.

This method reads data until 0 bytes are returned, indicating the end of the stream.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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