Rediger

Del via


FileStreamOptions.Access Property

Definition

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