FileStreamOptions.Access 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 can be accessed by the FileStream object. This also determines the values returned by the CanRead and CanWrite properties of the FileStream object.
public:
property System::IO::FileAccess Access { System::IO::FileAccess get(); void set(System::IO::FileAccess value); };
public System.IO.FileAccess Access { get; set; }
member this.Access : System.IO.FileAccess with get, set
Public Property Access As FileAccess
Property Value
A bitwise combination of the FileAccess 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.