MonobjcMonobjc Documented Class Library
DataWithContentsOfMappedFile Method (path)
NamespacesMonobjc.FoundationNSDataDataWithContentsOfMappedFile(NSString)

Creates and returns a data object from the mapped file specified by path.

Original signature is '+ (id)dataWithContentsOfMappedFile:(NSString *)path'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData DataWithContentsOfMappedFile(
	NSString path
)
Public Shared Function DataWithContentsOfMappedFile ( _
	path As NSString _
) As NSData
public:
static NSData^ DataWithContentsOfMappedFile(
	NSString^ path
)
Parameters
path (NSString)
The absolute path of the file from which to read data.
Return Value
A data object from the mapped file specified by path. Returns nil if the data object could not be created.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)