MemoryMappedFile::CreateFromFile Method
Creates a memory-mapped file from an existing file.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateFromFile(FileStream^, String^, Int64, MemoryMappedFileAccess, HandleInheritability, Boolean) | Creates a memory-mapped file from an existing file with the specified access mode, name, inheritability, and capacity. |
![]() ![]() | CreateFromFile(FileStream^, String^, Int64, MemoryMappedFileAccess, MemoryMappedFileSecurity^, HandleInheritability, Boolean) | Creates a memory-mapped file that has the specified name, capacity, access type, security permissions, inheritability, and disposal requirement from a file on disk. |
![]() ![]() | CreateFromFile(String^) | Creates a memory-mapped file from a file on disk. |
![]() ![]() | CreateFromFile(String^, FileMode) | Creates a memory-mapped file that has the specified access mode from a file on disk. |
![]() ![]() | CreateFromFile(String^, FileMode, String^) | Creates a memory-mapped file that has the specified access mode and name from a file on disk. |
![]() ![]() | CreateFromFile(String^, FileMode, String^, Int64) | Creates a memory-mapped file that has the specified access mode, name, and capacity from a file on disk. |
![]() ![]() | CreateFromFile(String^, FileMode, String^, Int64, MemoryMappedFileAccess) | Creates a memory-mapped file that has the specified access mode, name, capacity, and access type from a file on disk. |

