Click or drag to resize

IOpenFileDialogOpenFile Method (String, Int32)

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,
	int filetype
)

Parameters

filename
Type: SystemString
The fully-qualified name of the desired file.
filetype
Type: SystemInt32
The zero-based index 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