Click or drag to resize

ExtensionBrowseToFile Method

Opens the CommonOpenFileDialog window to browse to a file.

Namespace:  CADSharpTools.Core
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static string[] BrowseToFile(
	string startupDirectory,
	string extension,
	string fileTypeName,
	bool multiSelect = false
)

Parameters

startupDirectory
Type: SystemString
startup directory.
extension
Type: SystemString
file system. Must include the dot.
fileTypeName
Type: SystemString
File type name.
multiSelect (Optional)
Type: SystemBoolean
Allow multiple selection.

Return Value

Type: String
Array of pathnames of the selected files. An array of String.Empty if no file was selected.
See Also