IFileReaderService::OpenFileFromSource Method (String^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Opens a file from the current directory.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Stream^ OpenFileFromSource(
	String^ relativePath
)

Parameters

relativePath
Type: System::String^

The file to open.

Return Value

Type: System.IO::Stream^

A stream of the specified file.

relativePath is relative to the current directory.

.NET Framework
Available since 1.1
Return to top
Show: