MonobjcMonobjc Documented Class Library
ColorListNamed Method (name)
NamespacesMonobjc.AppKitNSColorListColorListNamed(NSString)

Searches the array that’s returned by availableColorLists and returns the color list with the given name.

Original signature is '+ (NSColorList *)colorListNamed:(NSString *)name'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSColorList ColorListNamed(
	NSString name
)
Public Shared Function ColorListNamed ( _
	name As NSString _
) As NSColorList
public:
static NSColorList^ ColorListNamed(
	NSString^ name
)
Parameters
name (NSString)
The name of the color list to retrieve. This name must not include the “.clr” suffix.
Return Value
The color list with the specified name or nil if no such color list exists.
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)