Summary
Opens the file using the specified options.
- Namespace
- Cake
.Core .IO - Containing Type
- FileExtensions
Syntax
public static Stream Open(this IFile file, FileMode mode, FileAccess access)
Parameters
Name | Type | Description |
---|---|---|
file | IFile | The file. |
mode | FileMode | The mode. |
access | FileAccess | The access. |
Return Value
Type | Description |
---|---|
Stream | A Stream to the file. |