Opens a file.

Namespace: Composite.Core.IO
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static C1FileStream Open(
	string path,
	FileMode mode,
	FileAccess access,
	FileShare share
)
Visual Basic
Public Shared Function Open ( _
	path As String, _
	mode As FileMode, _
	access As FileAccess, _
	share As FileShare _
) As C1FileStream
Visual C++
public:
static C1FileStream^ Open(
	String^ path, 
	FileMode mode, 
	FileAccess access, 
	FileShare share
)

Parameters

path
Type: System..::..String
Path to file to open.
mode
Type: System.IO..::..FileMode
File mode to use.
access
Type: System.IO..::..FileAccess
File access to use.
share
Type: System.IO..::..FileShare
File share to use.

Return Value

Returns the newly opened C1FileStream.

See Also