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

Inserts an object at the specified location in the receiver’s 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 _
)
public:
virtual void InsertItemWithObjectValueAtIndex(
	Id^ anObject, 
	NSInteger index
)
Parameters
anObject (Id)
The object to add to the internal item list.
index (NSInteger)
The index in the list at which to add the new 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)