FileSystem.ReadFile

FileSystem.ReadFile method

Create a stream for reading dependencies.

public abstract Stream ReadFile(string fileName, IOConfig options)
ParameterTypeDescription
fileNameStringFile’s name to open for reading
optionsIOConfigSave or load options

Return Value

Stream for reading the file.

Exceptions

exceptioncondition
IOExceptionThe implementation throws this exception when failed to open the file for reading.

See Also