Constructors: NewMemoryMappedFile

NewMemoryMappedFile

Creates a memory-mapped view of a file.



 Public Function NewMemoryMappedFile(
	  ByRef Path As String,
	  Optional ByVal Access As FileAccess = FileAccess. ReadAccess,
	  Optional ByVal Share As FileShare = FileShare. ReadShare ) As MemoryMappedFile

Parameters

Path
[ByRef] String. The file to be mapped to memory.
Access
[ByVal] Optional. FileAccess. The access to this mapping of the file.  

Default: FileAccess . ReadAccess

Share
[ByVal] Optional. FileShare. How should the file be shared with other processes.  

Default: FileShare . ReadShare

Return Values

MemoryMappedFile -  The new mapped view object.

Remarks

See Also

Project CorLib Overview
Class Constructors Overview