NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

OpenFileDialog Class

Represents a common dialog box that displays the control that allows the user to open a file. This class cannot be inherited.

Object
   Component
      CommonDialog
         FileDialog
            OpenFileDialog

[Visual Basic]
NotInheritable Public Class OpenFileDialog
   Inherits FileDialog
[C#]
public sealed class OpenFileDialog : FileDialog
[C++]
public __gc __sealed class OpenFileDialog : public FileDialog
[JScript]
public class OpenFileDialog extends FileDialog

Remarks

This class allows you to check if a file exists and open it. System.security.Permissions.OpenFileDialog.ShowReadOnly determines if a read-only check box appears in the dialog box. System.security.Permissions.OpenFileDialog.ReadOnlyChecked indicates whether the read-only check box is checked.

Most of the functionality for this class is found in FileDialog.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

OpenFileDialog Members | System.WinForms Namespace | FileDialog | CommonDialog