MonobjcMonobjc Documented Class Library
InitWithName Method (name)

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'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithName(
	NSString name
Public Overridable Function InitWithName ( _
	name As NSString _
) As Id
virtual Id^ InitWithName(
	NSString^ name
name (NSString)
The name under which to register the color list. Specify @”” if you don’t want a name.
Return Value
The initialized color list.
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)