|
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)
Syntaxpublic static string[] BrowseToFile(
string startupDirectory,
string extension,
string fileTypeName,
bool multiSelect = false
)
Public Shared Function BrowseToFile (
startupDirectory As String,
extension As String,
fileTypeName As String,
Optional multiSelect As Boolean = false
) As String()
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:
StringArray of pathnames of the selected files. An array of String.Empty if no file was selected.
See Also