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

Decodes and returns the object graph previously encoded by NSKeyedArchiver written to the file at a given path.

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

Available in Mac OS X v10.2 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)
A path to a file that contains an object graph previously encoded by NSKeyedArchiver.
Return Value
The object graph previously encoded by NSKeyedArchiver written to the file path. Returns nil if there is no file at path.
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)