OpenMode OpenMode OpenMode OpenMode OpenMode OpenMode Enum

Definition

The enum used by commands to allow the user to specify how a file (or other item) should be opened.

public enum class OpenMode
public enum class OpenMode
enum OpenMode
public enum OpenMode
type OpenMode = 
Public Enum OpenMode
Inheritance
OpenModeOpenModeOpenModeOpenModeOpenModeOpenMode

Fields

Add Add Add Add Add Add 0

This opens the file for appending (similar to FileMode.Append)

New New New New New New 1

The file must be created new. If the file exists it is an error (similar to FileMode.CreateNew)

Overwrite Overwrite Overwrite Overwrite Overwrite Overwrite 2

Creates a new file, if the file already exists it is overwritten (similar to FileMode.Create)

Applies to