Search Results for

    Show / Hide Table of Contents

    Enum FileShare

    Contains constants for controlling file sharing options while opening files. You can specify what access other processes trying to open the same file concurrently can have.

    Namespace: System.IO
    Assembly: System.IO.FileSystem.dll
    Syntax
    [Flags]
    public enum FileShare

    Fields

    Name Description
    None

    No sharing. Any request to open the file (by this process or another process) will fail until the file is closed.

    Read

    Allows subsequent opening of the file for reading. If this flag is not specified, any request to open the file for reading (by this process or another process) will fail until the file is closed.

    ReadWrite

    Allows subsequent opening of the file for writing or reading. If this flag is not specified, any request to open the file for writing or reading (by this process or another process) will fail until the file is closed.

    Write

    Allows subsequent opening of the file for writing. If this flag is not specified, any request to open the file for writing (by this process or another process) will fail until the file is closed.

    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX