Partager via


FolderDialogOptions Class

Definition

Represents options for folder dialogs, extending the base file dialog options.

public class FolderDialogOptions : Microsoft.VisualStudio.Extensibility.Shell.FileDialog.FileDialogOptionsBase, IEquatable<Microsoft.VisualStudio.Extensibility.Shell.FileDialog.FolderDialogOptions>
type FolderDialogOptions = class
    inherit FileDialogOptionsBase
    interface IEquatable<FolderDialogOptions>
Public Class FolderDialogOptions
Inherits FileDialogOptionsBase
Implements IEquatable(Of FolderDialogOptions)
Inheritance
FolderDialogOptions
Implements

Constructors

FolderDialogOptions()
FolderDialogOptions(FolderDialogOptions)

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.

(Inherited from FileDialogOptionsBase)
Title

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

(Inherited from FileDialogOptionsBase)

Methods

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

Operators

Equality(FolderDialogOptions, FolderDialogOptions)
Inequality(FolderDialogOptions, FolderDialogOptions)

Applies to