MonobjcMonobjc Documented Class Library
InsertColorKeyAtIndex Method (color, key, location)
NamespacesMonobjc.AppKitNSColorListInsertColorKeyAtIndex(NSColor, NSString, NSUInteger)

Inserts the specified color at the specified location in the receiver.

Original signature is '- (void)insertColor:(NSColor *)color key:(NSString *)key atIndex:(NSUInteger)location'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertColorKeyAtIndex(
	NSColor color,
	NSString key,
	NSUInteger location
)
Public Overridable Sub InsertColorKeyAtIndex ( _
	color As NSColor, _
	key As NSString, _
	location As NSUInteger _
)
public:
virtual void InsertColorKeyAtIndex(
	NSColor^ color, 
	NSString^ key, 
	NSUInteger location
)
Parameters
color (NSColor)
The color to add to the color list.
key (NSString)
The key with which to associate the color.
location (NSUInteger)
The location in the color list at which to place the specified color. Locations are numbered starting with 0.
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)