Click or drag to resize

XsFileStream.CreateFileStream Method

X#
Create a XsFileStream object on Windows and a normal FileStream object on other OS-es

Namespace:  XSharp.IO
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 STATIC METHOD CreateFileStream(
	path AS STRING,
	mode AS FileMode,
	faccess AS FileAccess,
	share AS FileShare,
	bufferSize AS LONG,
	options AS FileOptions
) AS FileStream
Request Example View Source

Parameters

path
Type: String
mode
Type: FileMode
faccess
Type: FileAccess
share
Type: FileShare
bufferSize
Type: Long
options
Type: FileOptions

Return Value

Type: FileStream
See Also