Click or drag to resize
FakeStorageProviderGetFileStream Method (String, FileMode, FileAccess, FileShare, Int32)
Returns new instance of file stream.

Namespace: CMS.Tests
Assembly: CMS.Tests (in CMS.Tests.dll) Version: 8.2.23
Syntax
C#
public override FileStream GetFileStream(
	string path,
	FileMode mode,
	FileAccess access,
	FileShare share,
	int bufferSize
)

Parameters

path
Type: SystemString
Path to file
mode
Type: CMS.IOFileMode
File mode
access
Type: CMS.IOFileAccess
File access
share
Type: CMS.IOFileShare
Sharing permissions
bufferSize
Type: SystemInt32
Buffer size

Return Value

Type: FileStream
See Also