Bewerken

Share via


FileStreamOptions.Share Property

Definition

A bitwise combination of the enumeration values that determines how the file will be shared by processes. The default value is Read.

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

Property Value

A bitwise combination of the FileShare enum flags.

Exceptions

When value contains an invalid value.

Applies to