Читати англійською Редагувати

Поділитися через


MemoryMappedFileAccess Enum

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.

Specifies access capabilities and restrictions for a memory-mapped file or view.

C#
public enum MemoryMappedFileAccess
C#
[System.Serializable]
public enum MemoryMappedFileAccess
Inheritance
MemoryMappedFileAccess
Attributes

Fields

Name Value Description
ReadWrite 0

Read and write access to the file.

Read 1

Read-only access to the file.

Write 2

Write-only access to file.

CopyOnWrite 3

Read and write access to the file, with the restriction that any write operations will not be seen by other processes.

ReadExecute 4

Read access to the file that can store and run executable code.

ReadWriteExecute 5

Read and write access to the file that can store and run executable code.

Applies to

Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1