System.Windows.Forms.IFileReaderService.OpenFileFromSource Method

Opens a file from the current directory.

Syntax

public System.IO.Stream OpenFileFromSource (string relativePath)

Parameters

relativePath
The file to open.

Returns

A stream of the specified file.

Remarks

relativePath is relative to the current directory.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0