MonobjcMonobjc Documented Class Library
ImageNamed Method (name)
NamespacesMonobjc.AppKitNSImageImageNamed(NSString)

Returns the NSImage instance associated with the specified name.

Original signature is '+ (id)imageNamed:(NSString *)name'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSImage ImageNamed(
	NSString name
)
Public Shared Function ImageNamed ( _
	name As NSString _
) As NSImage
public:
static NSImage^ ImageNamed(
	NSString^ name
)
Parameters
name (NSString)
The name associated with the desired image.
Return Value
The NSImage object associated with the specified name, or nil if no such image was found.
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)