Click or drag to resize

VistaOpenFileDialogOpenFile Method

Opens the file selected by the user, with read-only permission. The file is specified by the FileName property.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Stream OpenFile()

Return Value

Type: Stream
A Stream that specifies the read-only file selected by the user.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe file name is .
See Also