IFile.

Open(FileMode, FileAccess, FileShare) Method

Summary

Opens the file using the specified options.
Namespace
Cake.Core.IO
Containing Type
IFile

Syntax

Stream Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare)

Parameters

Name Type Description
fileMode FileMode The file mode.
fileAccess FileAccess The file access.
fileShare FileShare The file share.

Return Value

Type Description
Stream A Stream to the file.