FileStreamOptions.Share Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.