MonobjcMonobjc Documented Class Library
ClassNamed Method (className)

Returns the Class object for the specified name.

Original signature is '- (Class)classNamed:(NSString *)className'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Class ClassNamed(
	NSString className
Public Overridable Function ClassNamed ( _
	className As NSString _
) As Class
virtual Class^ ClassNamed(
	NSString^ className
className (NSString)
The name of a class.
Return Value
The Class object for className. Returns nil if className is not one of the classes associated with the receiver or if there is an error loading the executable code containing the class implementation.
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)