Share via


File.OpenWrite Method

Opens an existing file for writing.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public static FileStream OpenWrite (
         stringpath
)

Parameters

  • path
    The file to be opened for writing.

Return Value

An unshared FileStream object on the specified path with Write access.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

File Class
File Members
System.IO Namespace