MonobjcMonobjc Documented Class Library
DecodeClassNameAsClassName Method (nameInArchive, trueName)
NamespacesMonobjc.FoundationNSUnarchiverDecodeClassNameAsClassName(NSString, NSString)

Instructs the receiver to use the class with a given name when instantiating objects whose ostensible class, according to the archived data, is another given name.

Original signature is '- (void)decodeClassName:(NSString *)nameInArchive asClassName:(NSString *)trueName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DecodeClassNameAsClassName(
	NSString nameInArchive,
	NSString trueName
)
Public Overridable Sub DecodeClassNameAsClassName ( _
	nameInArchive As NSString, _
	trueName As NSString _
)
public:
virtual void DecodeClassNameAsClassName(
	NSString^ nameInArchive, 
	NSString^ trueName
)
Parameters
nameInArchive (NSString)
The ostensible name of a class in an archive.
trueName (NSString)
The name of the class to use when instantiating objects whose ostensible class, according to the archived data, is nameInArchive.
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)