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




fileName
The desired name of the destination file.
Saves the data in the stream to the file specified by fileName.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Function Save( _
   ByVal fileName As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As EnhancedStream
Dim fileName As String
Dim value As String
 
value = instance.Save(fileName)
C# 
public virtual string Save( 
   string fileName
)
Managed Extensions for C++ 
public: virtual string* Save( 
   string* fileName
) 
C++/CLI 
public:
virtual String^ Save( 
   String^ fileName
) 

Parameters

fileName
The desired name of the destination file.

Return Value

A string containing the name of the file the data was written to.

Remarks

This method saves all of the data in the stream to the file specified by fileName. This method will always create a new file, creating a unique filename if the file already exists.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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