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
)
Sub OpenFile (
filename As String,
filetype As Integer
)
Dim instance As IOpenFileDialog
Dim filename As String
Dim filetype As Integer
instance.OpenFile(filename, filetype)
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 See Also