Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

MemoryMappedFile.CreateFromFile Method

Creates a memory-mapped file from an existing file.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member CreateFromFile(String) Creates a memory-mapped file from a file on disk.
Public method Static member CreateFromFile(String, FileMode) Creates a memory-mapped file that has the specified access mode from a file on disk.
Public method Static member CreateFromFile(String, FileMode, String) Creates a memory-mapped file that has the specified access mode and name from a file on disk.
Public method Static member CreateFromFile(String, FileMode, String, Int64) Creates a memory-mapped file that has the specified access mode, name, and capacity from a file on disk.
Public method Static member 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.
Public method Static member 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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.