Partager via


FileDialogOptionsBase Class

Definition

Represents the base options for file dialogs, providing common properties like title and initial path.

public abstract class FileDialogOptionsBase : IEquatable<Microsoft.VisualStudio.Extensibility.Shell.FileDialog.FileDialogOptionsBase>
type FileDialogOptionsBase = class
    interface IEquatable<FileDialogOptionsBase>
Public MustInherit Class FileDialogOptionsBase
Implements IEquatable(Of FileDialogOptionsBase)
Inheritance
FileDialogOptionsBase
Derived
Implements

Constructors

FileDialogOptionsBase()
FileDialogOptionsBase(FileDialogOptionsBase)

Properties

EqualityContract
InitialDirectory

Gets or initializes the initial directory the dialog should have open. This should be an absolute path. If this is an empty string, the initial directory will default to the last opened directory, but if this is the first time, it is the root folder. If this is set, we pass in a flag to the dialog to open to the specified directory instead of the last opened directory. If an invalid directory is passed, we use the default.

Title

Gets or initializes the title of the file dialog. Leave empty to use the default title.

Methods

<Clone>$()
Equals(FileDialogOptionsBase)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(FileDialogOptionsBase, FileDialogOptionsBase)
Inequality(FileDialogOptionsBase, FileDialogOptionsBase)

Applies to