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!

FolderBrowserStyles Enumeration

Specifies various styles that may be applied to the FolderBrowser object.

[Visual Basic]
Public Enum FolderBrowserStyles
[C#]
public enum FolderBrowserStyles
[C++]
public enum FolderBrowserStyles

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
BrowseForComputer Only return computers. If the user selects anything other than a computer, the OK button is grayed.
BrowseForEverything Include everything. This will also include files.
BrowseForPrinter Only return printers. If the user selects anything other than a printer, the OK button is grayed.
RestrictToDomain Do not include network folders below the domain level in the dialog box's tree view control.
RestrictToFilesystem Only return file system directories. If the user selects folders that are not part of the file system, the OK button is grayed.
RestrictToSubfolders Only return file system that is a subfolder of the root folder in the namespace hierarchy. If the user selects a subfolder of the root folder that is not part of the file system, the OK button is grayed.
ShowTextBox Includes a textbox control in the browse dialog box that allows the user to type the name of an item.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace