Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MemoryMappedFileAccess Enum

Definition

Namespace:
System.IO.MemoryMappedFiles
Assemblies:
netstandard.dll, System.IO.MemoryMappedFiles.dll
Assembly:
System.IO.MemoryMappedFiles.dll
Assembly:
System.Core.dll
Assembly:
netstandard.dll
Source:
MemoryMappedFileAccess.cs
Source:
MemoryMappedFileAccess.cs

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.

public enum class MemoryMappedFileAccess
public enum MemoryMappedFileAccess
[System.Serializable]
public enum MemoryMappedFileAccess
type MemoryMappedFileAccess = 
[<System.Serializable>]
type MemoryMappedFileAccess = 
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


Feedback

Was this page helpful?