Component wrapping access to the Browse For Folder common dialog box.
Call the ShowDialog() method to bring the dialog box up.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public sealed class FolderBrowserDialog : Component
Public NotInheritable Class FolderBrowserDialog _ Inherits Component
public ref class FolderBrowserDialog sealed : public Component
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
FolderBrowserDialog()()() | ||
CanRaiseEvents |
Gets a value indicating whether the component can raise an event.
(Inherited from Component.) | |
Container |
Gets the IContainer that contains the Component.
(Inherited from Component.) | |
CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
DesignMode |
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.) | |
DirectoryPath |
Full path to the folder selected by the user.
| |
Dispose()()() |
Releases all resources used by the Component.
(Inherited from Component.) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.) | |
Disposed |
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.) | |
Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
Finalize()()() |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLifetimeService()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
GetService(Type) |
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.) | |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
InitializeLifetimeService()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) | |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnlyFilesystem |
Only return file system directories. If the user selects folders
that are not part of the file system, the OK button is unavailable.
| |
SelectedPath | ||
ShowDialog()()() |
Shows the folder browser dialog box.
| |
ShowDialog(IWin32Window) |
Shows the folder browser dialog box with the specified owner window.
| |
Site |
Gets or sets the ISite of the Component.
(Inherited from Component.) | |
StartLocation |
Location of the root folder from which to start browsing. Only the specified
folder and any folders beneath it in the namespace hierarchy appear
in the dialog box.
| |
ToString()()() |
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.) |
Inheritance Hierarchy
Object | |||
MarshalByRefObject | |||
Component | |||
FolderBrowserDialog |