MonobjcMonobjc Documented Class Library
UnarchiveObjectWithFile Method (path)
NamespacesMonobjc.FoundationNSUnarchiverUnarchiveObjectWithFile(NSString)

Decodes and returns the object archived in the file path.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id UnarchiveObjectWithFile(
	NSString path
)
Public Shared Function UnarchiveObjectWithFile ( _
	path As NSString _
) As Id
public:
static Id^ UnarchiveObjectWithFile(
	NSString^ path
)
Parameters
path (NSString)
The path to a file than contains an archive created using NSArchiver.
Return Value
The object, or object graph, that was archived in the file at path. Returns nil if the file at path cannot be unarchived.
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)