IInputWorkingDirectory.GetFile

IInputWorkingDirectory.GetFile method

Returns the stream to read from. MUST NOT return a null object. In case a stream cannot be returned, it MUST return a NamedStream object with a null Stream property value instead.

public NamedStream GetFile(string fileName, bool searchSubdirectories = false)
ParameterTypeDescription
fileNameStringThe file name.
searchSubdirectoriesBooleanIndicates whether to look for a file in subdirectories.

Return Value

The named stream.

See Also