Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FolderNameEditor.FolderBrowser Class

FolderNameEditor.FolderBrowser Class

Represents a dialog box that allows the user to choose a folder. This class cannot be inherited.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Design.FolderNameEditor.FolderBrowser

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

'Declaration
Protected NotInheritable Class FolderBrowser _
	Inherits Component

The FolderNameEditor.FolderBrowser type exposes the following members.

  NameDescription
Public methodFolderNameEditor.FolderBrowserInitializes a new instance of the FolderNameEditor.FolderBrowser class.
Top

  NameDescription
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Public propertyDescriptionGets or sets a description to show above the folders.
Public propertyDirectoryPathGets the directory path to the object the user picked.
Public propertySiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertyStartLocationGets or sets the start location of the root node.
Public propertyStyleThe styles the folder browser will use when browsing folders. This should be a combination of flags from the FolderNameEditor.FolderBrowserStyles enumeration.
Top

  NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDisposeReleases all resources used by the Component. (Inherited from Component.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodShowDialogShows the folder browser dialog.
Public methodShowDialog(IWin32Window)Shows the folder browser dialog with the specified owner.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft