Click or drag to resize

IOpenFileDialogOpenFile Method (String, String)

Opens a file specified by its fully-qualified name.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void OpenFile(
	string filename,
	string filetype
)

Parameters

filename
Type: SystemString
The fully-qualified name of the desired file.
filetype
Type: SystemString
The text denoting the file type filter to be selected in the dialog's Files of type combobox.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also