DekGenius.com
[ Team LiB ] Previous Section Next Section

OpenFileDialogmarshal by reference, disposable

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

This FileDialog class provides a means for a user to select a file to open. In addition to the base functionality, it adds an OpenFile() method, which will open a file Stream for the first selected file.

public sealed class OpenFileDialog : FileDialog {
// Public Constructors
   public OpenFileDialog();
// Public Instance Properties
   public override bool CheckFileExists{set; get; }
// overrides FileDialog
   public bool Multiselect{set; get; }
   public bool ReadOnlyChecked{set; get; }
   public bool ShowReadOnly{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 OpenFileDialog

Passed To

System.Windows.Forms.Design.FileNameEditor.InitializeDialog()

    [ Team LiB ] Previous Section Next Section