MonobjcMonobjc Documented Class Library
NSColorList Constructor (name, path)
NamespacesMonobjc.AppKitNSColorListNSColorList(NSString, NSString)

Initializes and returns the receiver, registering it under the given name if it isn’t in use already.

Original signature is '- (id)initWithName:(NSString *)name fromFile:(NSString *)path'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSColorList(
	NSString name,
	NSString path
)
Public Sub New ( _
	name As NSString, _
	path As NSString _
)
public:
NSColorList(
	NSString^ name, 
	NSString^ path
)
Parameters
name (NSString)
The name of the file for the color list (minus the “.clr” extension). Specify @”” if you don’t want a name.
path (NSString)
The full path to the file for the color list. A nil path indicates the color list should be initialized with no colors.
Return Value
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)