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

FileShare

A bitwise combination of the FileShare enum flags.

Exceptions

When value contains an invalid value.

Applies to