SaveFileDialog

SaveFileDialog marshal by reference, disposable

System. Windows .Forms (system. windows .forms.dll) sealed class

This FileDialog class provides a means for a user to select a filename with which to save a file. You can choose to display a prompt if the file does not exist by setting the CreatePrompt property.

OverwritePrompt will do the same if a file with the selected name does exist. The OpenFile() method will (create and) open a file Stream for the selected filename.

 public sealed class  SaveFileDialog  : FileDialog {  // Public Constructors  public  SaveFileDialog  ();  // Public Instance Properties  public bool  CreatePrompt  {set; get; }    public bool  OverwritePrompt  {set; get; }  // Public Instance Methods  public Stream  OpenFile  ();    public override void  Reset  ();  // overrides FileDialog  } 

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponen, System.IDisposable) CommonDialog FileDialog SaveFileDialog



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net