Redigera

Dela via


FileStreamOptions.Mode Property

Definition

One of the enumeration values that determines how to open or create the file.

public:
 property System::IO::FileMode Mode { System::IO::FileMode get(); void set(System::IO::FileMode value); };
public System.IO.FileMode Mode { get; set; }
member this.Mode : System.IO.FileMode with get, set
Public Property Mode As FileMode

Property Value

One of the enumeration values of the FileMode enum.

Exceptions

When value contains an invalid value.

Applies to