CreateNew Method

MemoryMappedFile.CreateNew Method

.NET Framework (current version)
 

Creates a memory-mapped file in system memory.

Namespace:   System.IO.MemoryMappedFiles
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateNew(String, Int64)

Creates a memory-mapped file that has the specified capacity in system memory.

System_CAPS_pubmethodSystem_CAPS_staticCreateNew(String, Int64, MemoryMappedFileAccess)

Creates a memory-mapped file that has the specified capacity and access type in system memory.

System_CAPS_pubmethodSystem_CAPS_staticCreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, HandleInheritability)

Creates a memory-mapped file that has the specified name, capacity, access type, memory allocation options and inheritability.

System_CAPS_pubmethodSystem_CAPS_staticCreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, MemoryMappedFileSecurity, HandleInheritability)

Creates a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.

Return to top
Show:
© 2016 Microsoft