System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor Method

Creates a System.IO.MemoryMappedFiles.MemoryMappedViewAccessor that maps to a view of the memory-mapped file.

Syntax

public MemoryMappedViewAccessor CreateViewAccessor ()

Returns

A randomly accessible block of memory.

Remarks

You can use the view returned by this method for random access to a memory-mapped file.

Requirements

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