System.IO.FileMode.CreateNew Field

Specifies that the operating system should create a new file. This requires System.Security.Permissions.FileIOPermissionAccess.Write permission. If the file already exists, an System.IO.IOException exception is thrown.

Value: CreateNew

Syntax

FileMode CreateNew

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0