MonobjcMonobjc Documented Class Library
InsertItemWithObjectValueAtIndex Method (anObject, index)
NamespacesMonobjc.AppKitNSComboBoxCellInsertItemWithObjectValueAtIndex(Id, NSInteger)

Inserts an object at the specified location in the internal item list.

Original signature is '- (void)insertItemWithObjectValue:(id)anObject atIndex:(NSInteger)index'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertItemWithObjectValueAtIndex(
	Id anObject,
	NSInteger index
Public Overridable Sub InsertItemWithObjectValueAtIndex ( _
	anObject As Id, _
	index As NSInteger _
virtual void InsertItemWithObjectValueAtIndex(
	Id^ anObject, 
	NSInteger index
anObject (Id)
The object to add to the receiver's internal item list.
index (NSInteger)
The index at which to add the specified object. The previous item at index—along with all following items—is shifted down one slot to make room.
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)