MonobjcMonobjc Documented Class Library
ObjectForKey Method (anAttribute)
NamespacesMonobjc.AppKitNSFontDescriptorObjectForKey(NSString)

Returns the font attribute specified by the given key.

Original signature is '- (id)objectForKey:(NSString *)anAttribute'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ObjectForKey(
	NSString anAttribute
)
Public Overridable Function ObjectForKey ( _
	anAttribute As NSString _
) As Id
public:
virtual Id^ ObjectForKey(
	NSString^ anAttribute
)
Parameters
anAttribute (NSString)
The font attribute key.
Return Value
The font attribute corresponding to anAttribute. For valid values of anAttribute, see “Font attributes”.
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.AppKit (Module: Monobjc.AppKit)