See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

fileName
The desired name of the destination file.
overwrite
Controls whether or not to overwrite existing files.
See Also Languages PowerTCP Email Validation for .NET

Save(String,Boolean) Method

Dart.PowerTCP.EmailValidation Namespace > EnhancedStream Class > Save Method : Save(String,Boolean) Method

Saves the data in the stream to the file specified by fileName.

[Visual Basic]
Overloads Public Overridable Function Save( _    ByVal fileName As String, _    ByVal overwrite As Boolean _ ) As String
[C#]
public virtual string Save(    string fileName,    bool overwrite );
[C++]
public: virtual string* Save(    string* fileName,    bool overwrite )
[C++/CLI]
public: virtual String^ Save(    String^ fileName,    bool overwrite )

Parameters

fileName
The desired name of the destination file.
overwrite
Controls whether or not to overwrite existing files.

Return Type

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. If overwrite is true, this method will create a new file if the specified file does not exist and will overwrite the specified file if it does exist. If overwrite is false, this method will always create a new file, creating a unique filename if the file already exists.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.